Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- libavformat/mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mux.c b/libavformat/mux.c index b1244c67f3..ec18c6d7b0 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -316,7 +316,7 @@ FF_ENABLE_DEPRECATION_WARNINGS goto fail; } if (av_cmp_q(st->sample_aspect_ratio, par->sample_aspect_ratio) - && fabs(av_q2d(st->sample_aspect_ratio) - av_q2d(par->sample_aspect_ratio)) > 0.004*av_q2d(st->sample_aspect_ratio) + && FFABS(av_q2d(st->sample_aspect_ratio) - av_q2d(par->sample_aspect_ratio)) > 0.004*av_q2d(st->sample_aspect_ratio) ) { if (st->sample_aspect_ratio.num != 0 && st->sample_aspect_ratio.den != 0 && -- 2.11.0 (Apple Git-81) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel