[FFmpeg-devel] [PATCH] read header in FLAC demuxer

Justin Ruggles justin.ruggles
Sat Jan 31 04:36:10 CET 2009


Here is a patch to read the header in the raw FLAC demuxer.  Currently
the header is passed through in the output AVPackets, which is not good
and requires some ugliness on the decoder side.  After this patch is
applied, the decoder can be changed so it doesn't have to handle the
header except in the extradata.  The extradata handling in the decoder
will also be simplified.

The patch has the added benefit of setting the timebase and duration, if
available (and thus the average bitrate), and parsing any Vorbiscomment
metadata blocks.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: flac_read_header_6.diff
Type: text/x-diff
Size: 3278 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090130/38a3424f/attachment.diff>

More information about the ffmpeg-devel mailing list