1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-14 22:22:59 +02:00
FFmpeg/libavfilter
Andreas Rheinhardt a080af9b8c avfilter/vf_subtitles: Fix leaks on failure
init_subtitles() sometimes returned directly upon error without cleaning
up after itself. The easiest way to trigger this is by using
picture-based subtitles; it is also possible to run into this in case of
missing decoders or allocation failures.

Furthermore, return the proper error code in case of missing decoder.

Reviewed-by: Nicolas George <george@nsup.org>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 77ace1ffea6bd40d44326c1a87a55db0937877f1)
2021-02-27 07:20:57 +01:00
..
2020-02-14 09:59:27 +01:00
2020-05-23 15:50:20 +02:00
2020-03-17 22:46:36 +01:00
2020-04-30 12:18:36 +02:00
2019-12-10 16:09:14 +01:00
2020-03-17 22:46:36 +01:00
2020-05-30 18:04:14 +02:00
2020-02-07 17:07:30 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-05-23 15:51:45 +02:00
2020-05-30 18:04:14 +02:00
2020-02-14 21:49:47 +01:00
2019-10-02 21:05:25 +02:00
2019-10-23 12:37:46 +02:00
2020-03-17 22:46:36 +01:00
2020-02-04 18:28:04 +01:00
2020-02-29 22:31:01 +01:00
2020-05-30 18:04:14 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-24 15:04:52 +05:30
2019-10-18 21:57:20 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-02-04 18:28:04 +01:00
2019-10-20 18:06:26 +02:00
2020-05-23 15:52:27 +02:00
2020-04-18 12:34:49 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00