07:53
avcodec/av1dec: Always set ret before goto end 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 #1596605. Fix this by always setting ret before goto end; do not return some random ancient value. Reviewed-by: James Almer <jamrialⓐgmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] (...)