changeset 8085:ce06bf810d5a

Simpler.
author rguyom
date Sun, 03 Nov 2002 15:56:58 +0000
parents c524ca26ace1
children 51cab3e229d4
files xvid_vbr.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);