1. 04 May, 2016 1 commit
  2. 03 May, 2016 1 commit
  3. 27 Jul, 2015 2 commits
  4. 20 Jul, 2015 1 commit
    • Vittorio Giovara's avatar
      Gather all coded_frame allocations and free functions to a single place · d6604b29
      Vittorio Giovara authored
      Allocating coded_frame is what most encoders do anyway, so it makes
      sense to always allocate and free it in a single place. Moreover a lot
      of encoders freed the frame with av_freep() instead of the correct API
      av_frame_free().
      
      This bring uniformity to encoder behaviour and prevents applications
      from erroneusly accessing this field when not allocated. Additionally
      this helps isolating encoders that export information with coded_frame,
      and heavily simplifies its deprecation.
      Signed-off-by: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
      d6604b29
  5. 19 Apr, 2015 1 commit
  6. 13 Oct, 2014 1 commit
    • Anton Khirnov's avatar
      lavc: use a separate field for exporting audio encoder padding · 2df0c32e
      Anton Khirnov authored
      Currently, the amount of padding inserted at the beginning by some audio
      encoders, is exported through AVCodecContext.delay. However
      - the term 'delay' is heavily overloaded and can have multiple different
        meanings even in the case of audio encoding.
      - this field has entirely different meanings, depending on whether the
        codec context is used for encoding or decoding (and has yet another
        different meaning for video), preventing generic handling of the codec
        context.
      
      Therefore, add a new field -- AVCodecContext.initial_padding. It could
      conceivably be used for decoding as well at a later point.
      2df0c32e
  7. 24 Aug, 2014 1 commit
  8. 08 Apr, 2014 1 commit
  9. 23 Dec, 2013 1 commit
  10. 03 Oct, 2013 1 commit
  11. 04 Jul, 2013 1 commit
  12. 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
  13. 09 Mar, 2013 1 commit
  14. 08 Mar, 2013 2 commits
  15. 06 Mar, 2013 1 commit
  16. 17 Feb, 2013 3 commits
  17. 12 Feb, 2013 1 commit
  18. 14 Jan, 2013 2 commits
  19. 04 Dec, 2012 1 commit
  20. 24 Nov, 2012 1 commit
  21. 11 Nov, 2012 1 commit
  22. 08 Nov, 2012 1 commit
  23. 06 Nov, 2012 1 commit
  24. 03 Nov, 2012 1 commit
  25. 02 Nov, 2012 2 commits
  26. 01 Nov, 2012 1 commit
  27. 04 Sep, 2012 1 commit
  28. 15 Aug, 2012 1 commit
  29. 07 Aug, 2012 1 commit
  30. 30 Jul, 2012 1 commit
  31. 06 Apr, 2012 1 commit
  32. 23 Mar, 2012 1 commit
  33. 22 Mar, 2012 1 commit