[FFmpeg-cvslog] avcodec/utils: use correct printf specifier in ff_set_sar
Andreas Cadhalpun
git at videolan.org
Sat Feb 28 23:00:57 CET 2015
ffmpeg | branch: master | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Sat Feb 28 20:11:36 2015 +0100| [732c3ebffaff5005367d7f947fa903f3b6e92f68] | committer: Michael Niedermayer
avcodec/utils: use correct printf specifier in ff_set_sar
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=732c3ebffaff5005367d7f947fa903f3b6e92f68
---
libavcodec/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index c5e6300..581cd04 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -246,7 +246,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;
More information about the ffmpeg-cvslog
mailing list