avcodec/utils: use correct printf specifier in ff_set_sar
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sat, 28 Feb 2015 19:11:36 +0000 (20:11 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 28 Feb 2015 20:51:24 +0000 (21:51 +0100)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/utils.c

index a36e960..d568cbb 100644 (file)
@@ -147,7 +147,7 @@ int ff_set_sar(AVCodecContext *avctx, AVRational sar)
     int ret = av_image_check_sar(avctx->width, avctx->height, sar);
 
     if (ret < 0) {
-        av_log(avctx, AV_LOG_WARNING, "ignoring invalid SAR: %u/%u\n",
+        av_log(avctx, AV_LOG_WARNING, "ignoring invalid SAR: %d/%d\n",
                sar.num, sar.den);
         avctx->sample_aspect_ratio = (AVRational){ 0, 1 };
         return ret;