mirror of https://github.com/FFmpeg/FFmpeg.git
In libavfilter/vf_palettegen.c, the function get_avg_color requires that box->len greater than zero to avoid dividing by zero. However, the call sequence filter_frame -> get_palette_frame -> get_avg_color may not satisfy this precondition. Fixes #9222. Signed-off-by: Yiyuan GUO <yguoaz@gmail.com>release/5.1
parent
910a24eb33
commit
2201c91fbf
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue