summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-28 22:09:03 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-28 22:09:03 +0000
commit10baacbf5f42088be69c3a96fff82fe8f532e54d (patch)
tree093b71c803d13ea18b9e06d4534e5ef445a80dfc /libmpcodecs
parent9d613c659cde0c1fd9ecb2dcfd8fa75f270394d8 (diff)
downloadmpv-10baacbf5f42088be69c3a96fff82fe8f532e54d.tar.bz2
mpv-10baacbf5f42088be69c3a96fff82fe8f532e54d.tar.xz
Fix overall frametime overflow, hopefully long long int is portable. (untested, will test tomorrow)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6835 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index c5f25ad15c..016ec4107e 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -389,7 +389,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
while(lavc_param_vstats){ // always one time loop
static FILE *fvstats=NULL;
char filename[20];
- static int all_len=0;
+ static long long int all_len=0;
static int frame_number=0;
static double all_frametime=0.0;