[Mplayer-cvslog] CVS: main/libmpdemux demux_real.c,1.35,1.36

Arpi of Ize arpi at mplayerhq.hu
Sun Jan 12 21:03:51 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv9161

Modified Files:
	demux_real.c 
Log Message:
sanity check


Index: demux_real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_real.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- demux_real.c	26 Dec 2002 16:27:38 -0000	1.35
+++ demux_real.c	12 Jan 2003 20:03:48 -0000	1.36
@@ -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;
@@ -656,6 +658,8 @@
         mp_msg(MSGT_DEMUX,MSGL_V,"Auto-selected RM video ID = %d\n",stream_id);
 	goto got_video;
     }
+
+}
 
     mp_msg(MSGT_DEMUX,MSGL_DBG2, "unknown stream id (%d)\n", stream_id);
     stream_skip(demuxer->stream, len);



More information about the MPlayer-cvslog mailing list