aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-02-28 20:11:36 +0100
committerAnton Khirnov <anton@khirnov.net>2015-02-28 21:51:24 +0100
commitea1d0b7ece1881c2f1360f8c1e2116791105af21 (patch)
tree7e8fe2b2ece52d5653636a1afdd3c7740eea5af9 /libavcodec
parent802987f8c7033ec8b82b35438d3822cf7f761166 (diff)
downloadffmpeg-ea1d0b7ece1881c2f1360f8c1e2116791105af21.tar.gz
avcodec/utils: use correct printf specifier in ff_set_sar
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index a36e96087e..d568cbbf05 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -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;