changeset 8927:cc9ea49f7509

sanity check
author arpi
date Sun, 12 Jan 2003 20:03:48 +0000
parents 497e3b284a10
children c82c8144cef9
files libmpdemux/demux_real.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_real.c	Sun Jan 12 19:55:59 2003 +0000
+++ b/libmpdemux/demux_real.c	Sun Jan 12 20:03:48 2003 +0000
@@ -639,6 +639,8 @@
 	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 @@
 	goto got_video;
     }
 
+}
+
     mp_msg(MSGT_DEMUX,MSGL_DBG2, "unknown stream id (%d)\n", stream_id);
     stream_skip(demuxer->stream, len);
   }//    goto loop;