[FFmpeg-devel] [PATCH] flac demuxer

Justin Ruggles justinruggles
Mon Apr 28 06:51:10 CEST 2008


Justin Ruggles wrote:
> 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.

I've split the change into 7 patches.  Hopefully this will be easier to
review.

-Justin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-remove-unneeded-variable-min_framesize.patch
Type: text/x-diff
Size: 1408 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080428/4fe02e35/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-add-common-function-to-parse-FLAC-streaminfo-metadat.patch
Type: text/x-diff
Size: 4612 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080428/4fe02e35/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-use-FLACStreaminfo-struct-inside-FLACContext-instead.patch
Type: text/x-diff
Size: 10039 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080428/4fe02e35/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-split-out-raw-flac-demuxer-into-a-separate-file.patch
Type: text/x-diff
Size: 4584 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080428/4fe02e35/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-add-metadata-parsing-to-demuxer.patch
Type: text/x-diff
Size: 5338 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080428/4fe02e35/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-remove-metadata-parsing-from-the-decoder.patch
Type: text/x-diff
Size: 5055 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080428/4fe02e35/attachment-0005.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-cosmetics-indentation.patch
Type: text/x-diff
Size: 1947 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080428/4fe02e35/attachment-0006.patch>



More information about the ffmpeg-devel mailing list