avformat/mlvdec: print unsigned chunk size
authorPeter Ross <pross@xvid.org>
Sun, 27 Apr 2014 02:42:28 +0000 (12:42 +1000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 27 Apr 2014 12:37:54 +0000 (14:37 +0200)
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mlvdec.c

index db7576b..6550e86 100644 (file)
@@ -239,7 +239,7 @@ static int scan_file(AVFormatContext *avctx, AVStream *vst, AVStream *ast, int f
         } else if (type == MKTAG('N','U','L','L')) {
         } else if (type == MKTAG('M','L','V','I')) { /* occurs when MLV and Mnn files are concatenated */
         } else {
-            av_log(avctx, AV_LOG_INFO, "unsupported tag %c%c%c%c, size %d\n", type&0xFF, (type>>8)&0xFF, (type>>16)&0xFF, (type>>24)&0xFF, size);
+            av_log(avctx, AV_LOG_INFO, "unsupported tag %c%c%c%c, size %u\n", type&0xFF, (type>>8)&0xFF, (type>>16)&0xFF, (type>>24)&0xFF, size);
         }
         avio_skip(pb, size);
     }