Re: [FFmpeg-devel] [PATCH v2] avcodec/av1dec: Always set ret before goto end

2024-05-02 Thread James Almer
On 5/2/2024 6:48 AM, Andreas Rheinhardt wrote: Before 0f8763fbea4e8816cd54c2a481d4c048fec58394, av1_frame_ref() and update_reference_list() could fail and therefore needed to be checked, which incidentally set ret. This is no longer happening, leading to a potential use of an uninitialized value

[FFmpeg-devel] [PATCH v2] avcodec/av1dec: Always set ret before goto end

2024-05-02 Thread Andreas Rheinhardt
Before 0f8763fbea4e8816cd54c2a481d4c048fec58394, av1_frame_ref() and update_reference_list() could fail and therefore needed to be checked, which incidentally set ret. This is no longer happening, leading to a potential use of an uninitialized value which is also the subject of Coverity ticket #159