From 355121bcb5d921c1e50b34a6f0b8da6a2c8a734f Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 30 Jul 2014 11:03:29 +0200 Subject: [PATCH] lavf/mux: Fix a typo checking aspect ratios. Fixes ticket #3813. --- libavformat/mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index b264ce02e6..be72d91867 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -291,7 +291,7 @@ FF_ENABLE_DEPRECATION_WARNINGS ) { if (st->sample_aspect_ratio.num != 0 && st->sample_aspect_ratio.den != 0 && - codec->sample_aspect_ratio.den != 0 && + codec->sample_aspect_ratio.num != 0 && codec->sample_aspect_ratio.den != 0) { av_log(s, AV_LOG_ERROR, "Aspect ratio mismatch between muxer " "(%d/%d) and encoder layer (%d/%d)\n",