diff mencoder.c @ 18300:21cafb27aa03

Make mencoder stream size printing use 64 bits.
author corey
date Wed, 26 Apr 2006 20:24:03 +0000
parents 89bd33b746b9
children 3b5b7e78b9af
line wrap: on
line diff
--- a/mencoder.c	Wed Apr 26 20:22:36 2006 +0000
+++ b/mencoder.c	Wed Apr 26 20:24:03 2006 +0000
@@ -1572,10 +1572,10 @@
 }
 
 mp_msg(MSGT_MENCODER, MSGL_INFO, MSGTR_VideoStreamResult,
-    (float)(mux_v->size/mux_v->timer*8.0f/1000.0f), (int)(mux_v->size/mux_v->timer), (int)mux_v->size, (float)mux_v->timer, decoded_frameno);
+    (float)(mux_v->size/mux_v->timer*8.0f/1000.0f), (int)(mux_v->size/mux_v->timer), (uint64_t)mux_v->size, (float)mux_v->timer, decoded_frameno);
 if(sh_audio)
 mp_msg(MSGT_MENCODER, MSGL_INFO, MSGTR_AudioStreamResult,
-    (float)(mux_a->size/mux_a->timer*8.0f/1000.0f), (int)(mux_a->size/mux_a->timer), (int)mux_a->size, (float)mux_a->timer);
+    (float)(mux_a->size/mux_a->timer*8.0f/1000.0f), (int)(mux_a->size/mux_a->timer), (uint64_t)mux_a->size, (float)mux_a->timer);
 
 if(sh_audio){ uninit_audio(sh_audio);sh_audio=NULL; }
 if(sh_video){ uninit_video(sh_video);sh_video=NULL; }