[MPlayer-dev-eng] [PATCH] Fix hang on demux of matroska files with 0byte-ints using 'mkv' demuxer
Sebastian Hagen
sebastian_hagen at memespace.net
Sun Aug 29 18:28:39 CEST 2010
Hello *,
Mplayer's 'mkv' matroska file demuxer has a bug preventing it from
parsing integers with a length of 0 bytes correctly, even though those
are valid according to the Matroska specs[1]. Thus, attempting to play
mkv files containing such integers without explicitly specifying
'-demuxer lavf' will result in an mplayer hang on demux.
I'm attaching a small MKV file (without any actual media streams)
demonstrating the bug as well as a patch that fixes it for me.
[1] <http://www.matroska.org/technical/specs/rfc/index.html>, section 2.4.
Sebastian Hagen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0byte_uint.mkv
Type: video/x-matroska
Size: 135 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100829/dc385cc5/attachment.mpv>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0byte_ints_try1.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100829/dc385cc5/attachment.asc>
More information about the MPlayer-dev-eng
mailing list