]> git.sesse.net Git - ffmpeg/commitdiff
avformat/movenc: Fix printf type
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Aug 2014 22:09:09 +0000 (00:09 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Aug 2014 22:09:09 +0000 (00:09 +0200)
Found-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/movenc.c

index 00dd7a3eb68947fae447fe6835c5fef5cb7f15c6..20710be41cfab78c30ba8ce2eee44cebcc170f88 100644 (file)
@@ -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);
     }