Commit 732c3ebf authored by Andreas Cadhalpun's avatar Andreas Cadhalpun Committed by Michael Niedermayer

avcodec/utils: use correct printf specifier in ff_set_sar

Signed-off-by: 's avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5705dc52
...@@ -246,7 +246,7 @@ int ff_set_sar(AVCodecContext *avctx, AVRational sar) ...@@ -246,7 +246,7 @@ int ff_set_sar(AVCodecContext *avctx, AVRational sar)
int ret = av_image_check_sar(avctx->width, avctx->height, sar); int ret = av_image_check_sar(avctx->width, avctx->height, sar);
if (ret < 0) { 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); sar.num, sar.den);
avctx->sample_aspect_ratio = (AVRational){ 0, 1 }; avctx->sample_aspect_ratio = (AVRational){ 0, 1 };
return ret; return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment