[FFmpeg-cvslog] rmdec: fix "warning: format %d expects argument of type int, but argument 7 has type int64_t"

Michael Niedermayer git at videolan.org
Sat Feb 25 03:03:05 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Feb 25 02:33:30 2012 +0100| [418403662bc5d25f22289b208127175f73b9d298] | committer: Michael Niedermayer

rmdec: fix "warning: format %d expects argument of type int, but argument 7 has type int64_t"

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=418403662bc5d25f22289b208127175f73b9d298
---

 libavformat/rmdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index b66de30..0245411 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -379,7 +379,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;



More information about the ffmpeg-cvslog mailing list