Justin Ruggles <[EMAIL PROTECTED]> added the comment:

The issues described are actually 2 separate problems.  The primary problem is
the segfaults with large metadata.  This can be fixed pretty easily.  The 2nd
issue is that the decoder can't handle large metadata cleanly.  Once enough
checks are put in place to fix the segfaults, there is still the problem of the
metadata overlapping multiple packets.

Personally, I think this should be solved by making the raw FLAC demuxer better
and possibly even adding a parser.  Right now the FLAC decoder is also having to
also act as both demuxer and parser.  This shouldn't be necessary.  All the
metadata blocks should ideally be in the extradata and not in the packets.

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue187>
______________________________________________________

Reply via email to