[FFmpeg-devel] [PATCH] FLAC parser

Justin Ruggles justin.ruggles
Fri Mar 27 06:05:47 CET 2009


Hi,

I finally got a working FLAC parser without resorting to buffering
max_frame_size bytes like the FLAC decoder does.  It requires a slight
change to ff_combine_frame() since the header can be up to 16 bytes long
and ff_combine_frame() currently only supports up to 8 bytes of overread
data (FF_INPUT_BUFFER_PADDING_SIZE).

This works with all samples I've tested, but it would be great to have
more tested as well.  There are quite a few corner cases, and while I've
tried to think of everything I can, I might have missed something.

-Justin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: flac_parser_03.diff
Type: text/x-diff
Size: 20669 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090327/7f6a124a/attachment.diff>



More information about the ffmpeg-devel mailing list