diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-19 20:23:54 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-21 05:46:04 +0200 |
commit | a01ca21bbbd41ad86ca58f2c7575c92a36a4b722 (patch) | |
tree | 99edf659dd9505e03b5b46f932e550cbf92a7d98 /COPYING.GPLv2 | |
parent | 682990a849ae7cd56e510a910845726c801eb8cd (diff) | |
download | ffmpeg-a01ca21bbbd41ad86ca58f2c7575c92a36a4b722.tar.gz |
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 <pross@xvid.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'COPYING.GPLv2')
0 files changed, 0 insertions, 0 deletions