diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-06 16:56:19 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-11 22:37:58 +0100 |
commit | 44f830e7f0182c20b36ac44ccaa10bb23c8caaff (patch) | |
tree | 4ec59c15cf1f8cdee99082a906a0c5e7a9775ec1 /libavcodec/vaapi_mjpeg.c | |
parent | c256491f9669893917f4db5c0cf56b17530f10b6 (diff) | |
download | ffmpeg-44f830e7f0182c20b36ac44ccaa10bb23c8caaff.tar.gz |
avcodec/wma(dec|enc): Fix memleaks upon allocation error
ff_wma_init() can fail without freeing everything it has allocated;
so add the FF_CODEC_CAP_INIT_CLEANUP to the codecs using it.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit fcdb012a100b245890949b2d53cb7f042380787d)
Diffstat (limited to 'libavcodec/vaapi_mjpeg.c')
0 files changed, 0 insertions, 0 deletions