diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-13 01:10:40 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-17 00:09:08 +0200 |
commit | 7d91f9271ee336da93b6871bf3306348ac1595a7 (patch) | |
tree | 9d729fb3d135e266fb6a4b8d438d6321e556d256 /doc/ffmpeg-codecs.texi | |
parent | 0b45ac571713cc8fda7aa5381c68ad671d21504b (diff) | |
download | ffmpeg-7d91f9271ee336da93b6871bf3306348ac1595a7.tar.gz |
avcodec/sonic: Fix leaks upon allocation errors
The Sonic decoder and encoders allocate several buffers in their init
function and return immediately if one of these allocations fails; this
will lead to leaks if there was an earlier successfull allocation. Fix
this by setting the FF_CODEC_CAP_INIT_CLEANUP flag.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc/ffmpeg-codecs.texi')
0 files changed, 0 insertions, 0 deletions