[FFmpeg-devel] [PATCH 06/21] avformat/dashdec: Free subtitle representations on exit

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Sat Sep 19 19:35:55 EEST 2020


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavformat/dashdec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index 8b421a4493..3b83075e7a 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -2274,6 +2274,7 @@ static int dash_close(AVFormatContext *s)
     DASHContext *c = s->priv_data;
     free_audio_list(c);
     free_video_list(c);
+    free_subtitle_list(c);
     av_dict_free(&c->avio_opts);
     av_freep(&c->base_url);
     return 0;
-- 
2.25.1



More information about the ffmpeg-devel mailing list