mirror of
https://github.com/mpv-player/mpv
synced 2025-03-03 12:47:49 +00:00
sanity check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8928 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3a03ad6f92
commit
87f985afff
@ -639,6 +639,8 @@ got_video:
|
||||
return 1;
|
||||
}
|
||||
|
||||
if(stream_id<256){
|
||||
|
||||
if(demuxer->audio->id==-1 && demuxer->a_streams[stream_id]){
|
||||
sh_audio_t *sh = demuxer->a_streams[stream_id];
|
||||
demuxer->audio->id=stream_id;
|
||||
@ -657,6 +659,8 @@ got_video:
|
||||
goto got_video;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
mp_msg(MSGT_DEMUX,MSGL_DBG2, "unknown stream id (%d)\n", stream_id);
|
||||
stream_skip(demuxer->stream, len);
|
||||
}// goto loop;
|
||||
|
Loading…
Reference in New Issue
Block a user