[FFmpeg-devel] [PATCH] Fix aspect ratio mismatch message

Andrey Utkin andrey.krieger.utkin at gmail.com
Sun Feb 12 15:47:31 CET 2012


---
 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);
-- 
1.7.7



More information about the ffmpeg-devel mailing list