ffmpeg | branch: master | Carl Eugen Hoyos <[email protected]> | Wed Jul 30 11:03:29 2014 +0200| [355121bcb5d921c1e50b34a6f0b8da6a2c8a734f] | committer: Carl Eugen Hoyos
lavf/mux: Fix a typo checking aspect ratios. Fixes ticket #3813. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=355121bcb5d921c1e50b34a6f0b8da6a2c8a734f --- libavformat/mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index b264ce0..be72d91 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", _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
