demux_mkv: fix crash bug introduced by recent change
commit07e4261aa25b02826b7924b5595336ad78744d28
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 24 May 2010 05:01:04 +0000 (24 08:01 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 24 May 2010 05:01:04 +0000 (24 08:01 +0300)
tree5cf4f6317ff24444eff315480f62bc99d30c360f
parent9b94b3fb309ae9c0817485b58125d92dbe3ff28d
demux_mkv: fix crash bug introduced by recent change

Commit fc39d48465 ("demux_mkv: store streams sequentially in
demuxer->[avs]_streams") had a simple bug in automatic stream
selection causing a crash if no video or audio track was marked as
'default'. Fix.
libmpdemux/demux_mkv.c