mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-19 05:49:09 +02:00
686096739b
There are two issues here. Firstly, the floating-point comparison is always true. Seconly, the code depends on the default value of min_hard_comp implicitly, which can be dangerous. Partially fixes ticket 9859. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>