[FFmpeg-devel] [PATCH] flac demuxer

Justin Ruggles justinruggles
Mon Apr 28 00:44:30 CEST 2008


Hi,

This patch splits out the FLAC demuxer from raw.c.  It has added
functionality to read the raw FLAC header, including all metadata.  The
function to read the streaminfo header needs to be shared with the FLAC
decoder, so it has been put in lavc.

* svn cp libavformat/raw.c libavformat/flacdec.c
* svn cp libavcodec/flac.c libavcodec/flacdec.c
* put common streaminfo parsing in lavc/flac.[c,h]

Now exactly 34 bytes of extradata containing the streaminfo data will be
required by the decoder.  The next step is making a FLAC parser so that
the decoder doesn't have to do that as well...

This fixes issue#187.

-Justin


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



More information about the ffmpeg-devel mailing list