[FFmpeg-cvslog] avformat/movenc: Fix printf type

Michael Niedermayer git at videolan.org
Mon Aug 11 00:16:15 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug 11 00:09:09 2014 +0200| [49456a95ebcbc2c2318422d51740de2f54b9915f] | committer: Michael Niedermayer

avformat/movenc: Fix printf type

Found-by: Timothy Gu <timothygu99 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/movenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 00dd7a3..20710be 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1346,7 +1346,7 @@ static int mov_write_source_reference_tag(AVIOContext *pb, MOVTrack *track, cons
     int64_t pos = avio_tell(pb);
 
     if (str_size >= UINT16_MAX){
-        av_log(NULL, AV_LOG_ERROR, "reel_name length %llu is too large\n", str_size);
+        av_log(NULL, AV_LOG_ERROR, "reel_name length %"PRIu64" is too large\n", str_size);
         avio_wb16(pb, 0);
         return AVERROR(EINVAL);
     }



More information about the ffmpeg-cvslog mailing list