aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/jni.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-14 20:59:12 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-27 07:20:57 +0100
commit7b10d643a06178e160212ca9369abd0810392683 (patch)
treefc7bd3f7d5f414b02c3498123c434081cba45dff /libavcodec/jni.h
parent83cd7a29dccc37de4fe290b61300172d47a207d4 (diff)
downloadffmpeg-7b10d643a06178e160212ca9369abd0810392683.tar.gz
avcodec/indeo5: Fix memleaks upon allocation error
ff_ivi_init_planes() might error out after having allocated some arrays. Set the FF_CODEC_CAP_INIT_CLEANUP flag in order to free these arrays in this case. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit d8fc69bd6a20394adf42406bf80bd06b4c8d7384)
Diffstat (limited to 'libavcodec/jni.h')
0 files changed, 0 insertions, 0 deletions