mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
Only MAX_STREAMS streams are allowed (cid 115)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17811 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9dd489f4bc
commit
b2a5c98e76
@ -1040,7 +1040,7 @@ got_video:
|
||||
return 1;
|
||||
}
|
||||
|
||||
if(stream_id<256){
|
||||
if(stream_id<MAX_STREAMS){
|
||||
|
||||
if(demuxer->audio->id==-1 && demuxer->a_streams[stream_id]){
|
||||
sh_audio_t *sh = demuxer->a_streams[stream_id];
|
||||
|
Loading…
Reference in New Issue
Block a user