aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/argo_asf.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-13 22:05:25 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-15 19:25:26 +0200
commit3c2128df7ffdb32a3ef34044f9a4c2f15dc1776f (patch)
tree87ec8e9593efbcd86e4c00a6cae76a29bad4e91c /libavformat/argo_asf.h
parentd8e4d26de6a96ffd7813aad5bb0680b494192031 (diff)
downloadffmpeg-3c2128df7ffdb32a3ef34044f9a4c2f15dc1776f.tar.gz
avcodec/avrndec: Fix memleak on error
If ff_codec_open2_recursive() fails, the already allocated AVCodecContext leaks. Fix this by setting the FF_CODEC_CAP_INIT_CLEANUP flag. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/argo_asf.h')
0 files changed, 0 insertions, 0 deletions