aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-11 02:32:03 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-11 02:32:03 +0000
commit8a3ceaf4f0970f589034f42519c16132bcb92760 (patch)
treecd42162b1c8143f7ffc27acaec6847e4086a3fe0
parent2023cfea0fa56aa15396d6c0a43b290aa6e6c9b4 (diff)
downloadffmpeg-8a3ceaf4f0970f589034f42519c16132bcb92760.tar.gz
ffplay: use correct format specifiers in printf()
Originally committed as revision 22447 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffplay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 82c07d434a..3ce9dff1bb 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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 *opaque)
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;