[FFmpeg-devel] [PATCH] miscelleneous NUT fixes

Rich Felker dalias
Sat Feb 2 20:19:25 CET 2008

On Sat, Feb 02, 2008 at 06:41:20PM +0100, Michael Niedermayer wrote:
> > 1. "Bleh, libnut muxed this ;)\n" please, I fixed this bug over a year ago :)
> rejected, we do not remove workarounds needed for demuxing/decoding

While I agree with this principle, I don't think it applies to
under-development formats. The snow decoder does not support every
random historical version of snow, and likewise the nut demuxer should
not support invalid nut streams generated by historical versions of
libnut during development of the container format. I would actually go
so far as to say that, since we are one of the two reference
implementations of nut, we should actively treat ANY sort of invalid
condition in the stream as corruption and go to error recovery mode
upon seeing it, and consider this as a "feature" for better error
detection. This will deter broken muxer implementations that are
nonconformant from becoming the norm.


More information about the ffmpeg-devel mailing list