On 28 Jun 2025, at 3:42, Frank Plowman wrote:
> On 27/06/2025 00:23, Marvin Scholz wrote:
>> The ret value is checked later on again, so this check
>> is redundant and would cause the frame to not be unrefd on
>> failure as well.
>>
>> So remove this check and add one before av_frame_remove_sid
On 27/06/2025 00:23, Marvin Scholz wrote:
> The ret value is checked later on again, so this check
> is redundant and would cause the frame to not be unrefd on
> failure as well.
>
> So remove this check and add one before av_frame_remove_side_data
> to ensure it is not called with an invalid fram
The ret value is checked later on again, so this check
is redundant and would cause the frame to not be unrefd on
failure as well.
So remove this check and add one before av_frame_remove_side_data
to ensure it is not called with an invalid frame.
Fix CID 1648350
---
libavcodec/vvc/refs.c | 5 ++-