[MPlayer-dev-eng] [PATCH] Fixes a segfault in mkv demuxer with non seekable files and -ss, -idx options
Francesco Cosoleto
cosoleto at gmail.com
Mon Feb 23 18:05:23 CET 2009
Hi,
When an index mode option and a seek request to given time position are
specified on the command line and no index was found in the file (e.g.
mplayer -idx -ss 1 samples.mplayerhq.hu/Matroska/x264_no-b-frames.mkv),
then mkv demuxer crash in demux_mkv_seek():
2938 max_pos = mkv_d->cluster_positions[mkv_d->num_cluster_pos-1];
Attached a possible (acceptable?) solution for the problem.
--
Francesco Cosoleto | http://cosoleto.free.fr
I have made this letter longer than usual because I lack the time to
make it shorter. (Blaise Pascal)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: demux_mkv_segfault.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090223/c4d12e84/attachment.asc>
More information about the MPlayer-dev-eng
mailing list