[Mplayer-cvslog] CVS: main aviheader.c,1.23,1.24

Arpi of Ize arpi at mplayer.dev.hu
Mon Aug 13 00:36:12 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv27487

Modified Files:
	aviheader.c 
Log Message:
terrible -idx bug fixed, thanx to Raphael Manfredi

Index: aviheader.c
===================================================================
RCS file: /cvsroot/mplayer/main/aviheader.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- aviheader.c	12 Aug 2001 15:46:09 -0000	1.23
+++ aviheader.c	12 Aug 2001 22:36:05 -0000	1.24
@@ -182,7 +182,7 @@
     if(stream_eof(demuxer->stream)) break;
     if(!id || avi_stream_id(id)==100) goto skip_chunk; // bad ID (or padding?)
 
-    if(priv->idx_pos<=priv->idx_size){
+    if(priv->idx_pos>=priv->idx_size){
 //      priv->idx_size+=32;
       priv->idx_size+=1024; // +16kB
       priv->idx=realloc(priv->idx,priv->idx_size*sizeof(AVIINDEXENTRY));




More information about the MPlayer-cvslog mailing list