[FFmpeg-devel] [PATCH] mkv 0-byte integer parsing
Tue Sep 7 20:12:49 CEST 2010
On 2010-09-05 16:22, Sebastian Hagen wrote:
> with a length of 0 bytes correctly, even though those are valid
> according to the Matroska specs and mkv files containing them can be
My bad, that statement was incorrect. Such integers are valid according
to the EBML specs, but not the matroska ones, since the latter
gratuituously set a minimum uint size of 1 byte.
Nevertheless, while such elements are technically invalid, some demuxers
will happily accept them, and the robust thing to do would be for ffmpeg
to do the same.
 <http://www.matroska.org/technical/specs/rfc/index.html>, section 2.4.
More information about the ffmpeg-devel