[FFmpeg-cvslog] Fix aspect ratio mismatch message

Andrey Utkin git at videolan.org
Sun Feb 12 20:54:58 CET 2012


ffmpeg | branch: master | Andrey Utkin <andrey.krieger.utkin at gmail.com> | Sun Feb 12 16:47:31 2012 +0200| [b66b58f7b0df09f8c45c9846973b141626c6b17c] | committer: Michael Niedermayer

Fix aspect ratio mismatch message

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b66b58f7b0df09f8c45c9846973b141626c6b17c
---

 libavformat/utils.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 4989437..39cf766 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);



More information about the ffmpeg-cvslog mailing list