mirror of https://github.com/FFmpeg/FFmpeg.git
Invalid input files may contain film grain metadata which survives ff_h274_film_grain_params_supported() but does not pass av_film_grain_params_select(), leading to a SIGSEGV on hevc_frame_end(). Fix this by duplicating the av_film_grain_params_select() check at frame init time. An alternative solution here would be to defer the incompatibility check to hevc_frame_end(), but this has the downside of allocating a film grain buffer even when we already know we can't apply film grain. Fixes: https://trac.ffmpeg.org/ticket/10951release/7.1
parent
baf17c15be
commit
459648761f
1 changed files with 8 additions and 7 deletions
Loading…
Reference in new issue