diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-04 18:09:48 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-05 00:29:09 +0100 |
commit | e546d029198950f589f7d9820970e599fba2ad30 (patch) | |
tree | 2f8f1cee787778bf1bf96f76041f3271cddacc17 /libavdevice/Makefile | |
parent | fef17e89283f8b72fc125cd066dce15a875802f6 (diff) | |
download | ffmpeg-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 'libavdevice/Makefile')
0 files changed, 0 insertions, 0 deletions