demux_mkv: fix possible seek crash
commit2fcd4cf73e1a06119e5c3284abe05942967ce3ad
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 31 May 2010 18:34:38 +0000 (31 21:34 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Mon, 31 May 2010 18:50:17 +0000 (31 21:50 +0300)
tree7d0b3a79682a73b436e717d2c65745e31c9183b3
parentd75206ce68c06414455a3733e3c04405c565a696
demux_mkv: fix possible seek crash

Commit fc39d48465 ("demux_mkv: store streams sequentially in
demuxer->[avs]_streams") had a copy-paste error causing it to look up
a video ID where it should have been an audio one. The most likely
visible symptom was a segfault when seeking while playing a
high-numbered audio track. Looks like I was careless with that
original commit, second bug in the same one...
libmpdemux/demux_mkv.c