[FFmpeg-cvslog] r22447 - trunk/ffplay.c

mru subversion
Thu Mar 11 03:32:03 CET 2010


Author: mru
Date: Thu Mar 11 03:32:03 2010
New Revision: 22447

Log:
ffplay: use correct format specifiers in printf()

Modified:
   trunk/ffplay.c

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	Thu Mar 11 03:32:01 2010	(r22446)
+++ trunk/ffplay.c	Thu Mar 11 03:32:03 2010	(r22447)
@@ -20,6 +20,7 @@
  */
 
 #include "config.h"
+#include <inttypes.h>
 #include <math.h>
 #include <limits.h>
 #include "libavutil/avstring.h"
@@ -1256,7 +1257,7 @@ static void video_refresh_timer(void *op
             av_diff = 0;
             if (is->audio_st && is->video_st)
                 av_diff = get_audio_clock(is) - get_video_clock(is);
-            printf("%7.2f A-V:%7.3f aq=%5dKB vq=%5dKB sq=%5dB f=%Ld/%Ld   \r",
+            printf("%7.2f A-V:%7.3f aq=%5dKB vq=%5dKB sq=%5dB f=%"PRId64"/%"PRId64"   \r",
                    get_master_clock(is), av_diff, aqsize / 1024, vqsize / 1024, sqsize, is->faulty_dts, is->faulty_pts);
             fflush(stdout);
             last_time = cur_time;



More information about the ffmpeg-cvslog mailing list