1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavfilter
Andreas Rheinhardt 77ace1ffea 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>
2020-09-11 14:41:18 +02:00
..
2020-02-14 09:59:27 +01:00
2020-04-30 12:18:36 +02:00
2019-12-10 16:09:14 +01:00
2020-08-23 10:40:55 +02:00
2020-03-17 22:46:36 +01:00
2020-09-04 19:37:29 +02:00
2020-02-14 21:49:47 +01:00
2019-10-23 12:37:46 +02:00
2020-02-04 18:28:04 +01:00
2020-07-08 15:23:43 +02: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-17 22:46:36 +01:00
2020-02-04 18:28:04 +01: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