[FFmpeg-devel] [PATCH] make FLAC parser return frames when it has the required amount (without buffering)

Michael Chinen mchinen
Fri Dec 10 22:30:52 CET 2010


The FLAC parser wasn't behaving well for large inputs.
For the problem, see discussion in thread "FLAC parser ineffeciency"

I tested this patch with 16K, 32K, and 10MB input and it seems to work.
I should note that the parser buffers by copying the entire input so
for the 10MB case this is using a lot of space.  Not an issue for
small buffer sizes, but if it is a real use case and should be
improved let me know and I can submit a separate patch that only takes
small chunks of the input buffer.

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-make-FLAC-parser-return-frames-when-it-has-the-requi.patch
Type: application/octet-stream
Size: 2918 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101210/24f14b14/attachment.obj>



More information about the ffmpeg-devel mailing list