[Mplayer-cvslog] CVS: main xvid_vbr.c,1.3,1.4

Rémi Guyomarch CVS rguyom at mplayerhq.hu
Sun Nov 3 16:57:02 CET 2002


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

Modified Files:
	xvid_vbr.c 
Log Message:

Simpler.



Index: xvid_vbr.c
===================================================================
RCS file: /cvsroot/mplayer/main/xvid_vbr.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xvid_vbr.c	3 Nov 2002 09:02:56 -0000	1.3
+++ xvid_vbr.c	3 Nov 2002 15:56:58 -0000	1.4
@@ -612,7 +612,7 @@
 	}while(i < 2);
 
 	/* Prepare to write to the stream */
-	fseek( state->pass1_file, ftell( state->pass1_file ), SEEK_SET );
+	fseek( state->pass1_file, 0L, SEEK_CUR );
 
 	/* Overwrite the frame field - safe as we have written extra spaces */
 	fprintf(state->pass1_file, "# frames    : %.10d\n", state->nb_frames);




More information about the MPlayer-cvslog mailing list