1. 04 Sep, 2019 1 commit
    • James Almer's avatar
      avcodec/decode: add a flags parameter to ff_reget_buffer() · 9ea6d214
      James Almer authored
      Some decoders may not need a writable buffer in some specific cases, but only
      a reference to the existing buffer with updated frame properties instead, for
      the purpose of returning duplicate frames. For this, the
      FF_REGET_BUFFER_FLAG_READONLY flag is added, which will prevent potential
      allocations and buffer copies when they are not needed.
      Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
      9ea6d214
  2. 19 Jul, 2019 2 commits
  3. 08 Sep, 2018 1 commit
  4. 07 Feb, 2017 1 commit
  5. 18 Nov, 2016 1 commit
  6. 14 Nov, 2015 1 commit
  7. 02 Nov, 2015 1 commit
  8. 27 Jul, 2015 1 commit
  9. 19 Apr, 2015 1 commit
  10. 19 Dec, 2013 1 commit
  11. 09 Dec, 2013 1 commit
  12. 16 Nov, 2013 1 commit
  13. 05 Nov, 2013 4 commits
  14. 01 Nov, 2013 3 commits
  15. 03 Oct, 2013 1 commit
  16. 20 Aug, 2013 1 commit
  17. 13 Mar, 2013 2 commits
    • Diego Biurrun's avatar
    • Clément Bœsch's avatar
      lavc: factorize ff_{thread_,re,}get_buffer error messages. · 1ec94b0f
      Clément Bœsch authored
      Coccinelle profile used:
      
        @@
        expression r, ctx, f, loglevel, str, flags;
        @@
      
        -if ((r = ff_get_buffer(ctx, f, flags)) < 0) {
        -    av_log(ctx, loglevel, str);
        -    return r;
        -}
        +if ((r = ff_get_buffer(ctx, f, flags)) < 0)
        +    return r;
      
        @@
        expression r, ctx, f, loglevel, str;
        @@
      
        -if ((r = ff_reget_buffer(ctx, f)) < 0) {
        -    av_log(ctx, loglevel, str);
        -    return r;
        -}
        +if ((r = ff_reget_buffer(ctx, f)) < 0)
        +    return r;
      
        @@
        expression r, ctx, f, loglevel, str, flags;
        @@
      
        -if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) {
        -    av_log(ctx, loglevel, str);
        -    return r;
        -}
        +if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0)
        +    return r;
      
      ...along with some manual patches for the remaining ones.
      1ec94b0f
  18. 08 Mar, 2013 2 commits
  19. 30 Jan, 2013 1 commit
  20. 14 Dec, 2012 1 commit
  21. 04 Dec, 2012 1 commit
  22. 29 Nov, 2012 1 commit
  23. 26 Nov, 2012 1 commit
  24. 21 Nov, 2012 1 commit
  25. 15 Nov, 2012 2 commits
  26. 12 Nov, 2012 2 commits
  27. 23 Oct, 2012 1 commit
  28. 13 Oct, 2012 1 commit
  29. 10 Oct, 2012 1 commit
  30. 08 Oct, 2012 1 commit