[MPlayer-dev-eng] [PATCH] fix segfault in demux_mkv when switching tracks

Evgeniy Stepanov eugeni.stepanov at gmail.com
Mon Apr 30 22:51:01 CEST 2007


this patch fixes an obvious bug in mkv demuxer. demux_mkv_get_sub_lang can be 
called with an invalid track number, and it happens when there is an external 
subtitle file. To reproduce, run mplayer somefile.mkv -sub someotherfile.srt 
and press 'j' several times.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.patch
Type: text/x-diff
Size: 893 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070501/812e2e69/attachment.patch>

More information about the MPlayer-dev-eng mailing list