diff xvid_vbr.c @ 8085:ce06bf810d5a

Simpler.
author rguyom
date Sun, 03 Nov 2002 15:56:58 +0000
parents 8e97c4629611
children f6ffe802f526
line wrap: on
line diff
--- a/xvid_vbr.c	Sun Nov 03 15:14:36 2002 +0000
+++ b/xvid_vbr.c	Sun Nov 03 15:56:58 2002 +0000
@@ -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);