Files
ffmpeg/libavcodec
Niklas Haas 30002d58fa avcodec/hevcdec: fix segfault on invalid film grain metadata
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/10951
(cherry picked from commit 459648761f)
2024-04-22 23:43:03 +03:00
..
2024-03-15 12:51:15 +01:00
2024-02-27 00:11:21 +01:00
2024-02-27 00:11:21 +01:00
2024-03-25 08:54:18 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-02-12 22:00:03 +02:00
2024-02-12 22:00:03 +02:00
2024-03-22 20:26:53 +08:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-03-04 17:45:00 +01:00
2023-11-14 19:15:51 +02:00
2024-03-10 13:51:37 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-02-29 10:30:16 +01:00
2024-02-20 17:31:40 +11:00
2024-01-25 11:07:28 -05:00
2024-02-21 20:08:25 +02:00
2024-02-21 20:08:25 +02:00
2024-03-12 14:37:49 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-03-26 23:19:49 +01:00
2023-12-22 09:28:04 -03:00
2023-12-22 09:28:04 -03:00
2024-03-12 14:37:49 +01:00
2024-03-15 12:51:15 +01:00
2023-12-08 17:20:48 +02:00
2023-12-08 17:20:48 +02:00
2024-03-27 01:04:53 +01:00
2024-02-03 00:26:17 +01:00
2024-02-17 14:45:49 +02:00
2024-02-17 14:45:49 +02:00