aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-02-26 23:42:37 +0100
committerDiego Biurrun <diego@biurrun.de>2012-03-01 23:11:14 +0100
commit75c553eb264ca9317fded0350684d561035a6794 (patch)
tree7fbc18ab521480ae7a92ab79b12868c240479715
parent324deaa26883efbdac3b82d4b06eee0285826a7f (diff)
downloadffmpeg-75c553eb264ca9317fded0350684d561035a6794.tar.gz
rmdec: adjust printf format string specifier to fix warning
libavformat/rmdec.c:383: warning: format ‘%d’ expects type ‘int’, but argument 7 has type ‘int64_t’
-rw-r--r--libavformat/rmdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 6775294d06..a5e6d2dfee 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -378,7 +378,7 @@ static int rm_read_index(AVFormatContext *s)
} else if ((avio_size(pb) - avio_tell(pb)) / 14 < n_pkts) {
av_log(s, AV_LOG_ERROR,
"Nr. of packets in packet index for stream index %d "
- "exceeds filesize (%"PRId64" at %"PRId64" = %d)\n",
+ "exceeds filesize (%"PRId64" at %"PRId64" = %"PRId64")\n",
str_id, avio_size(pb), avio_tell(pb),
(avio_size(pb) - avio_tell(pb)) / 14);
goto skip;