1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt 4e5a97e393 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>
(cherry picked from commit a01ca21bbbd41ad86ca58f2c7575c92a36a4b722)
2021-02-27 07:20:58 +01:00
..
2020-05-27 22:13:39 +02:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2020-05-30 18:02:55 +02:00
2020-05-30 18:02:55 +02:00
2020-05-21 09:31:08 +02:00
2021-02-02 14:18:21 +01:00
2020-04-26 18:38:25 +01:00
2020-06-05 18:14:17 +02:00
2020-06-14 22:02:34 +02:00
2020-04-26 18:38:25 +01:00
2021-02-02 14:18:21 +01:00
2021-02-20 14:21:24 +01:00
2020-05-19 20:09:25 +02:00
2020-05-12 01:00:28 +02:00
2020-05-26 10:52:12 +01:00
2020-05-26 10:52:12 +01:00
2020-05-26 10:52:12 +01:00
2020-06-14 22:02:34 +02:00
2020-06-08 20:45:56 +02:00
2020-05-30 18:02:55 +02:00
2020-07-09 12:35:39 +02:00
2020-04-26 18:38:25 +01:00
2020-05-22 22:23:18 +02:00
2021-02-02 14:18:20 +01:00
2021-02-02 14:18:20 +01:00
2021-02-02 14:18:20 +01:00
2020-06-08 01:22:34 +02:00
2020-04-26 18:38:25 +01:00
2020-05-23 07:07:36 +02:00