From ddac80c68ef23f24a3f0e3851bd88c3598c9f353 Mon Sep 17 00:00:00 2001 From: rguyom Date: Sun, 3 Nov 2002 15:56:58 +0000 Subject: Simpler. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8086 b3059339-0415-0410-9bf9-f77b7e298cf2 --- xvid_vbr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xvid_vbr.c') diff --git a/xvid_vbr.c b/xvid_vbr.c index b34ce2c8a3..aaec3165a7 100644 --- a/xvid_vbr.c +++ b/xvid_vbr.c @@ -612,7 +612,7 @@ static int vbr_finish_2pass1(void *sstate) }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); -- cgit v1.2.3