Re: [FFmpeg-devel] [PATCH] lavc/vvc: Set fc->ref to NULL at top of decode_nal_units

2025-02-15 Thread Nuo Mi
On Sun, Feb 9, 2025 at 5:43 AM Frank Plowman wrote: > 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 functi

[FFmpeg-devel] [PATCH] lavc/vvc: Set fc->ref to NULL at top of decode_nal_units

2025-02-08 Thread Frank Plowman
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 al