diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-14 20:59:12 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-27 07:20:57 +0100 |
commit | 7b10d643a06178e160212ca9369abd0810392683 (patch) | |
tree | fc7bd3f7d5f414b02c3498123c434081cba45dff /libavcodec/ac3_parser.h | |
parent | 83cd7a29dccc37de4fe290b61300172d47a207d4 (diff) | |
download | ffmpeg-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/ac3_parser.h')
0 files changed, 0 insertions, 0 deletions