aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-07-30 11:03:29 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-07-30 11:03:29 +0200
commit355121bcb5d921c1e50b34a6f0b8da6a2c8a734f (patch)
tree4a0a01925d42dfbcd6bde4c4007428ab9006d91f /libavformat
parentf2855eb4d7128e53c027bc38b0e9627138fed607 (diff)
downloadffmpeg-355121bcb5d921c1e50b34a6f0b8da6a2c8a734f.tar.gz
lavf/mux: Fix a typo checking aspect ratios.
Fixes ticket #3813.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mux.c2
1 files changed, 1 insertions, 1 deletions
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",