[FFmpeg-devel] [PATCH] miscelleneous NUT fixes

Rich Felker dalias
Sun Feb 3 20:44:11 CET 2008


On Sun, Feb 03, 2008 at 08:28:30PM +0100, Michael Niedermayer wrote:
> > exist in the wild yet.  All we would lose is support for a few files on
> > Oded harddrive, if at all.
> 
> And all we would gain is 2 lines of code less

And support for extremely weird but valid files. And the protection
against idiots writing muxers that generate such broken files in the
future!

Hint: if the two reference demuxers don't support broken files, people
probably won't make broken files. But if the one really popular
(included in ffdshow) demuxer supports broken files, folks writing
muxers might misread the spec just like Oded did and write code that
generates bad files, not noticing that the files are bad because "hey
it plays fine for me!" This is why supporting broken NUT files is a
VERY VERY BAD IDEA!

Rich




More information about the ffmpeg-devel mailing list