diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-07-30 11:03:29 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-07-30 11:03:29 +0200 |
commit | 355121bcb5d921c1e50b34a6f0b8da6a2c8a734f (patch) | |
tree | 4a0a01925d42dfbcd6bde4c4007428ab9006d91f /libavformat | |
parent | f2855eb4d7128e53c027bc38b0e9627138fed607 (diff) | |
download | ffmpeg-355121bcb5d921c1e50b34a6f0b8da6a2c8a734f.tar.gz |
lavf/mux: Fix a typo checking aspect ratios.
Fixes ticket #3813.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mux.c | 2 |
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", |