summaryrefslogtreecommitdiffstats
path: root/libavcodec/audio_frame_queue.c
Commit message (Collapse)AuthorAgeFilesLines
* audio_frame_queue: fix null ptr dereferenceMichael Niedermayer2012-05-151-1/+1
| | | | | | | | This happened when a frame was removed before any was added. Fixes part of Ticket1208 Found-by: John Villamil, Piotr Bandurski and Carl Eugen Hoyos Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* audio_frame_que: simplifyMichael Niedermayer2012-05-081-101/+49
| | | | | | | | | | | | Also update libav->ffmpeg as theres pretty much no code left from libav. The new code is faster, requires fewer mallocs and less memory. Its also half the number of lines of code. This code is not 100% identical in behavior to the previous, but the differences appear to be rather limitations of the previous design than intended though i could be wrong of course. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec: add code for a frame queue for use by audio encoders with delayJustin Ruggles2012-03-201-0/+162
This simplifies matching of timestamps between input frames and output packets.
OpenPOWER on IntegriCloud