diff options
author | Andrey Utkin <andrey.krieger.utkin@gmail.com> | 2012-02-12 16:47:31 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-12 20:24:29 +0100 |
commit | b66b58f7b0df09f8c45c9846973b141626c6b17c (patch) | |
tree | 78ce04fc63c4472dafaf2f115169f0f5506bb9be /libavformat/utils.c | |
parent | c15f3bd3dba9b17ba03606e32ec900c3821fcd50 (diff) | |
download | ffmpeg-b66b58f7b0df09f8c45c9846973b141626c6b17c.tar.gz |
Fix aspect ratio mismatch message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 498943756b..39cf766bdf 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3006,8 +3006,8 @@ int avformat_write_header(AVFormatContext *s, AVDictionary **options) if(av_cmp_q(st->sample_aspect_ratio, st->codec->sample_aspect_ratio) && FFABS(av_q2d(st->sample_aspect_ratio) - av_q2d(st->codec->sample_aspect_ratio)) > 0.004*av_q2d(st->sample_aspect_ratio) ){ - av_log(s, AV_LOG_ERROR, "Aspect ratio mismatch between encoder " - "(%d/%d) and muxer layer (%d/%d)\n", + av_log(s, AV_LOG_ERROR, "Aspect ratio mismatch between muxer " + "(%d/%d) and encoder layer (%d/%d)\n", st->sample_aspect_ratio.num, st->sample_aspect_ratio.den, st->codec->sample_aspect_ratio.num, st->codec->sample_aspect_ratio.den); |