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

Rich Felker dalias
Sun Sep 30 22:52:30 CEST 2007

On Sun, Sep 30, 2007 at 02:47:18PM -0400, Justin Ruggles wrote:
> Michael Niedermayer wrote:
> > On Sun, Sep 30, 2007 at 12:48:08AM -0400, Justin Ruggles wrote:
> >> Hi,
> >>
> >> Here is a patch to fix issue 187 in the FFmpeg Issue Tracker, "flac decoder 
> >> fails with large metadata".
> >>
> >> For raw FLAC files, the metadata header(s) are read in the demuxer rather 
> >> than the decoder.  This correctly skips any irrelevant metadata blocks, and 
> >> it also parses vorbiscomment info.
> > 
> > what happens with flac in avi and matroska ?
> True, it should be handled in those demuxers as well.  And I do see your 
> point as far as code duplication.  I'm working on a better solution with 
> shared code between the decoder and all the demuxers.

For other formats, metadata should not be in Ogg-specific format but
in whatever standard format the container uses.. I suspect that was
Michael's point..


More information about the ffmpeg-devel mailing list