Commit 355121bc authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavf/mux: Fix a typo checking aspect ratios.

Fixes ticket #3813.
parent f2855eb4
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment