summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrguyom <rguyom@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-03 15:56:58 +0000
committerrguyom <rguyom@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-03 15:56:58 +0000
commitddac80c68ef23f24a3f0e3851bd88c3598c9f353 (patch)
tree5b3c41cde5e31157abd15e4108fe5851622883a8
parenta007cfa1134c9b69f3a19b11baec6d9b95d34b2e (diff)
downloadmpv-ddac80c68ef23f24a3f0e3851bd88c3598c9f353.tar.bz2
mpv-ddac80c68ef23f24a3f0e3851bd88c3598c9f353.tar.xz
Simpler.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8086 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--xvid_vbr.c2
1 files changed, 1 insertions, 1 deletions
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);