diff options
Diffstat (limited to 'libmpdemux/aviheader.c')
-rw-r--r-- | libmpdemux/aviheader.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpdemux/aviheader.c b/libmpdemux/aviheader.c index 91281beeeb..e6a9708906 100644 --- a/libmpdemux/aviheader.c +++ b/libmpdemux/aviheader.c @@ -223,8 +223,7 @@ if(index_mode>=2 || (priv->idx_size==0 && index_mode==1)){ 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 |