mirror of https://github.com/FFmpeg/FFmpeg.git
Before 0f8763fbea
, 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>
release/7.1
parent
86e418ffd7
commit
9fb3d640fb
1 changed files with 15 additions and 9 deletions
Loading…
Reference in new issue