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. 25 Jun, 2019 1 commit
  3. 02 May, 2017 1 commit
  4. 07 Feb, 2017 1 commit
  5. 09 Jan, 2017 1 commit
  6. 27 Jul, 2015 2 commits
  7. 20 Feb, 2015 1 commit
  8. 23 Jun, 2014 1 commit
  9. 23 Apr, 2014 1 commit
  10. 21 Nov, 2013 1 commit
  11. 16 Nov, 2013 1 commit
  12. 30 Oct, 2013 1 commit
  13. 03 Oct, 2013 1 commit
  14. 14 Sep, 2013 2 commits
  15. 13 Mar, 2013 1 commit
    • 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
  16. 08 Mar, 2013 2 commits
  17. 09 Feb, 2013 2 commits
  18. 04 Dec, 2012 1 commit
  19. 01 Dec, 2012 1 commit
  20. 18 Oct, 2012 1 commit
  21. 08 Oct, 2012 1 commit
  22. 07 Aug, 2012 1 commit
  23. 28 May, 2012 1 commit
  24. 02 May, 2012 1 commit
  25. 06 Apr, 2012 1 commit
  26. 15 Feb, 2012 2 commits
  27. 05 Nov, 2011 1 commit
  28. 07 Oct, 2011 3 commits
  29. 06 Oct, 2011 1 commit
  30. 30 Sep, 2011 2 commits
  31. 29 Sep, 2011 1 commit
  32. 10 Sep, 2011 1 commit