[MPlayer-cvslog] CVS: main/libmpdemux demux_real.c,1.91,1.92

Roberto Togni CVS syncmail at mplayerhq.hu
Sat Mar 11 17:42:49 CET 2006


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv9802

Modified Files:
	demux_real.c 
Log Message:
Only MAX_STREAMS streams are allowed (cid 115)


Index: demux_real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_real.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- demux_real.c	9 Mar 2006 22:09:03 -0000	1.91
+++ demux_real.c	11 Mar 2006 16:42:46 -0000	1.92
@@ -1040,7 +1040,7 @@
 	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];




More information about the MPlayer-cvslog mailing list