aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vmnc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-04 18:09:48 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-05 00:29:09 +0100
commite546d029198950f589f7d9820970e599fba2ad30 (patch)
tree2f8f1cee787778bf1bf96f76041f3271cddacc17 /libavcodec/vmnc.c
parentfef17e89283f8b72fc125cd066dce15a875802f6 (diff)
downloadffmpeg-e546d029198950f589f7d9820970e599fba2ad30.tar.gz
avcodec/av1dec: Fix leak in case of failure
A reference to an AV1RawFrameHeader and consequently the AV1RawFrameHeader itself and everything it has a reference to leak if the hardware has no AV1 decoding capabilities or if some other error happens. It happens e.g. in the cbs-av1-av1-1-b8-02-allintra FATE-test; it has just been masked because the return value of ffmpeg (which indicates failure when using Valgrind or ASAN) is ignored when doing tests of type md5. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/vmnc.c')
0 files changed, 0 insertions, 0 deletions