diff options
author | Andreas Rheinhardt <[email protected]> | 2020-10-19 20:23:54 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2021-02-27 07:20:58 +0100 |
commit | 4e5a97e3932b519e9003b206ecd0bbfde3e61411 (patch) | |
tree | e988038c270e041901d9462172a0b8e1f36801b5 /libavutil/avstring.h | |
parent | 78ac14f280f9bf71c824ef11c40f0a0f3c877b4c (diff) |
avcodec/vp3: Fix memleak upon init failure
Up until now, there was no cleanup in case initializing the Theora VLC
tables failed, leading to memleaks. This commit gets rid of them by
setting the FF_CODEC_CAP_INIT_CLEANUP flag for all decoders in vp3.c;
this also allows to remove some (now redundant) cleanup code.
Reviewed-by: Peter Ross <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
(cherry picked from commit a01ca21bbbd41ad86ca58f2c7575c92a36a4b722)
Diffstat (limited to 'libavutil/avstring.h')
0 files changed, 0 insertions, 0 deletions