lavf/mux: Fix a typo checking aspect ratios.

Fixes ticket #3813.
This commit is contained in:
Carl Eugen Hoyos
2014-07-30 11:03:29 +02:00
parent f2855eb4d7
commit 355121bcb5

View File

@ -291,7 +291,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
) { ) {
if (st->sample_aspect_ratio.num != 0 && if (st->sample_aspect_ratio.num != 0 &&
st->sample_aspect_ratio.den != 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) { codec->sample_aspect_ratio.den != 0) {
av_log(s, AV_LOG_ERROR, "Aspect ratio mismatch between muxer " av_log(s, AV_LOG_ERROR, "Aspect ratio mismatch between muxer "
"(%d/%d) and encoder layer (%d/%d)\n", "(%d/%d) and encoder layer (%d/%d)\n",