Files
FFmpeg/libavcodec
Frank Plowman e417f939da lavc/vvc: Set fc->ref to NULL at top of decode_nal_units
In the fail: block of decode_nal_units, a check as to whether fc->ref is
nonzero is used.  Before this patch, fc->ref was set to NULL in
frame_context_setup.  The issue is that, by the time frame_context_setup
is called, falliable functions (namely slices_realloc and
ff_vvc_decode_frame_ps) have already been called.  Therefore, there
could arise a situation in which the fc->ref test of decode_nal_units'
fail: block is performed while fc->ref has an invalid value.  This seems
to be particularly prevalent in situations where the FrameContexts are
being reused.  The patch resolves the issue by moving the assignment of
fc->ref to NULL to the very top of decode_nal_units, before any falliable
functions are called.

Signed-off-by: Frank Plowman <post@frankplowman.com>
2025-02-16 11:54:55 +08:00
..
2025-01-25 09:37:45 +02:00
2024-11-28 10:03:01 +09:00
2024-12-22 16:08:33 +11:00
2025-02-04 00:14:14 +01:00
2025-02-04 00:14:14 +01:00
2025-02-04 00:14:14 +01:00
2025-01-01 21:33:45 +01:00
2025-02-09 20:27:49 -06:00
2025-02-09 20:27:49 -06:00
2024-09-06 13:59:28 +02:00
2025-02-06 13:48:47 -03:00
2024-09-28 18:35:35 +02:00
2024-09-28 18:35:35 +02:00
2025-01-01 20:31:08 +01:00
2024-11-01 12:13:07 +08:00
2024-09-24 15:37:19 +02:00
2025-02-06 13:48:47 -03:00
2024-11-09 02:46:17 +01:00
2025-02-06 13:48:47 -03:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-11-01 12:13:07 +08:00
2024-11-01 12:13:07 +08:00
2024-09-24 15:37:19 +02:00
2025-02-09 20:27:49 -06:00
2024-10-31 17:49:48 +11:00
2024-10-31 17:49:48 +11:00
2024-10-31 17:49:48 +11:00
2024-10-31 17:49:48 +11:00
2024-09-24 15:37:20 +02:00