[MPlayer-cvslog] CVS: main/libmpdemux demux_real.c,1.89,1.90

Reimar Döffinger CVS syncmail at mplayerhq.hu
Wed Mar 8 14:26:38 CET 2006


CVS change done by Reimar Döffinger CVS

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

Modified Files:
	demux_real.c 
Log Message:
stream_id == MAX_STREAMS is invalid, since counting starts with 0.


Index: demux_real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_real.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- demux_real.c	17 Feb 2006 01:57:41 -0000	1.89
+++ demux_real.c	8 Mar 2006 13:26:36 -0000	1.90
@@ -162,7 +162,7 @@
     if (verbose<=1)
 	return;
     
-    if (stream_id > MAX_STREAMS)
+    if (stream_id >= MAX_STREAMS)
 	return;
 
     index = priv->index_table[stream_id];




More information about the MPlayer-cvslog mailing list