mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 00:06:25 +01:00
stream_id == MAX_STREAMS is invalid, since counting starts with 0.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17777 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
425573eb0d
commit
cd94e7a740
@ -162,7 +162,7 @@ static void dump_index(demuxer_t *demuxer, int stream_id)
|
||||
if (verbose<=1)
|
||||
return;
|
||||
|
||||
if (stream_id > MAX_STREAMS)
|
||||
if (stream_id >= MAX_STREAMS)
|
||||
return;
|
||||
|
||||
index = priv->index_table[stream_id];
|
||||
|
Loading…
Reference in New Issue
Block a user