aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/x86/pixelutils_init.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-02 09:53:04 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-02 23:37:16 +0200
commit9fb3d640fb742964675ead308adcf606908d79b5 (patch)
tree3fc1798fcf77d7b65e12502b70d41693c4feb266 /libavutil/x86/pixelutils_init.c
parent86e418ffd7bbdc0530e1e4d5bd7534b6e03b5b05 (diff)
downloadffmpeg-9fb3d640fb742964675ead308adcf606908d79b5.tar.gz
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>
Diffstat (limited to 'libavutil/x86/pixelutils_init.c')
0 files changed, 0 insertions, 0 deletions