[Ffmpeg-cvslog] r7150 - trunk/libavformat/matroska.c

Rich Felker dalias
Thu Nov 23 04:07:52 CET 2006


On Wed, Nov 22, 2006 at 10:38:44AM +0100, Aurelien Jacobs wrote:
> BTW: is there anything in the nut spec to avoid people doing such braindead
> things ? How should flac be stored in nut ? If the extradata is properly
> stored as a 34 bytes headers, should the first packet contain the 0xFFF8

It is ALWAYS ABSOLUTELY ILLEGAL for a global header to be stored in
the first packet of the file. This condition is easily testable: if
it's impossible to decode the stream from some point in the middle
without having the first packet, then the storage scheme is illegal.

> marker ? Maybe the nut spec should contain something like "extradata and
> packets MUST be stored in a way that is directly decodable by reference
> decoder" ?

Maybe you should RTFspec and use some common sense instead of
committing horribly broken code like this... :)

Rich





More information about the ffmpeg-cvslog mailing list