[Mplayer-cvslog] CVS: main/libmpdemux aviheader.c,1.34,1.35
Atmosfear
atmos4 at mplayer.dev.hu
Mon Dec 17 17:51:36 CET 2001
Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv21542/libmpdemux
Modified Files:
aviheader.c
Log Message:
Divide by Zero fix.
Index: aviheader.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/aviheader.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- aviheader.c 14 Dec 2001 23:56:12 -0000 1.34
+++ aviheader.c 17 Dec 2001 16:51:34 -0000 1.35
@@ -223,8 +223,7 @@
case 2: if(c==0x1B6) idx->dwFlags=0;break; // divx 4
}
}
- //mp_msg(MSGT_HEADER,MSGL_STATUS,"Generating Index: %02d%%\r", (int)demuxer->filepos/((int)demuxer->movi_end/100));
- mp_msg(MSGT_HEADER,MSGL_STATUS,"Generating Index...\r");
+ mp_msg(MSGT_HEADER,MSGL_STATUS,"Generating Index: %02d%%\r", (int)demuxer->filepos/((int)demuxer->movi_end/100+1));
fflush(stdout);
mp_dbg(MSGT_HEADER,MSGL_DBG2,"%08X %08X %.4s %08X %X\n",(int)demuxer->filepos,id,(char *) &id,(int)c,(unsigned int) idx->dwFlags);
#if 0
More information about the MPlayer-cvslog
mailing list