[FFmpeg-devel] [PATCH] mkv 0-byte integer parsing

Aurelien Jacobs aurel
Sun Sep 5 23:40:56 CEST 2010

On Sun, Sep 05, 2010 at 04:22:43PM +0200, Sebastian Hagen wrote:
> Hello *,
> ffmpeg's Matroska demuxer has a bug preventing it from parsing mkv
> uints with a length of 0 bytes correctly, even though those are
> valid according to the Matroska specs[1] and mkv files containing
> them can be demuxed correctly by other software. This bug will
> manifest in any ffmpeg binaries attempting to parse problematic mkv
> files (e.g. ffmpeg and ffplay) as well as any non-ffmpeg software
> using libavf for mkv demuxing, notably mplayer.
> I am attaching a small media file that demonstrates this bug, as
> well as a patch that fixes it for me.

Thanks for the good repport. Patch OK.
I applied this fix along with support of 0-sized float element.


More information about the ffmpeg-devel mailing list