diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-14 20:59:12 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-15 19:25:26 +0200 |
commit | d8fc69bd6a20394adf42406bf80bd06b4c8d7384 (patch) | |
tree | 4903613b26d5d525e0ba4c6124a028a6b7db7057 /libswscale/yuv2rgb.c | |
parent | e411a3af11e5d00a311f594a45c17f74898cb46e (diff) | |
download | ffmpeg-d8fc69bd6a20394adf42406bf80bd06b4c8d7384.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>
Diffstat (limited to 'libswscale/yuv2rgb.c')
0 files changed, 0 insertions, 0 deletions