1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-08 22:39:44 +02:00
FFmpeg/libavcodec
Niklas Haas 459648761f 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
2024-04-09 15:01:58 +02:00
..
2024-03-31 00:08:43 +01:00
2024-03-15 12:51:15 +01:00
2024-04-08 09:10:04 -03:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-02-27 00:11:21 +01:00
2024-02-27 00:11:21 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-04-06 09:26:30 +02:00
2023-09-11 00:27:45 +02:00
2024-03-25 08:54:18 +01:00
2023-09-01 23:59:14 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +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-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-09-22 13:15:00 +08:00
2023-09-22 13:15:00 +08:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-09-11 00:27:45 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-09-11 00:27:45 +02:00
2023-10-01 02:25:09 +02:00
2023-09-07 00:42:10 +02:00
2024-03-15 12:51:15 +01:00
2024-04-04 23:58:57 +02:00
2024-04-04 23:58:57 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-04 17:45:00 +01:00
2023-11-14 19:15:51 +02:00
2023-10-09 19:52:51 +03:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-10 13:51:37 +01:00
2023-10-03 00:27:14 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-04-03 00:44:37 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2023-10-31 21:33:25 +02:00
2023-10-31 21:33:25 +02:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2023-09-07 00:42:10 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-09-07 00:42:10 +02:00
2023-11-08 17:37:58 +11:00
2024-01-25 11:07:28 -05:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-02-21 20:08:25 +02:00
2024-02-21 20:08:25 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-09-11 00:27:45 +02:00
2023-09-07 00:42:10 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-09-11 00:27:45 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-29 09:01:54 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2023-11-09 12:53:35 +01:00
2024-03-31 00:08:43 +01:00
2023-09-11 00:27:45 +02:00
2024-03-31 00:08:43 +01:00
2023-09-11 00:27:45 +02:00
2024-03-31 00:08:43 +01:00
2023-09-28 19:37:58 +02:00
2024-03-31 00:08:43 +01:00
2023-09-11 00:27:45 +02:00
2023-09-11 00:27:45 +02:00
2024-03-31 00:08:43 +01:00
2024-03-26 23:19:49 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-11-01 22:53:26 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-09-11 00:27:45 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-12-22 09:28:04 -03:00
2023-12-22 09:28:04 -03:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-15 12:51:15 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-12-08 17:20:48 +02:00
2023-12-08 17:20:48 +02:00
2023-10-10 00:22:55 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-09-11 00:27:45 +02:00
2024-03-31 00:08:43 +01:00
2024-02-17 14:45:49 +02:00
2024-02-17 14:45:49 +02:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00
2023-09-11 00:27:45 +02:00
2024-03-31 00:08:43 +01:00