[Mplayer-cvslog] CVS: main/libmpdemux aviheader.c,1.35,1.36

Felix Buenemann atmosfear at users.sourceforge.net
Wed Jan 2 23:53:47 CET 2002


On Tuesday, 25. December 2001 20:25, you wrote:
> Update of /cvsroot/mplayer/main/libmpdemux
> In directory mplayer:/var/tmp.root/cvs-serv14762
>
> Modified Files:
> 	aviheader.c
> Log Message:
> is itn't %, it is a byteposition of the video ...
bad, it's usually percentage, in some cases (if movi_end is 0 means not set) 
it is a byte position!

>
> Index: aviheader.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libmpdemux/aviheader.c,v
> retrieving revision 1.35
> retrieving revision 1.36
> diff -u -r1.35 -r1.36
> --- aviheader.c	17 Dec 2001 16:51:34 -0000	1.35
> +++ aviheader.c	25 Dec 2001 19:25:27 -0000	1.36
> @@ -223,7 +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+1)); +   
> mp_msg(MSGT_HEADER,MSGL_STATUS,"Generating Index: %02d (byteposition)\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
>

-- 
Best Regards,
	Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________




More information about the MPlayer-cvslog mailing list