[FFmpeg-cvslog] avformat/dashdec: Free subtitle representations on exit

Andreas Rheinhardt git at videolan.org
Mon Sep 21 06:00:01 EEST 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Sat Sep 19 02:37:05 2020 +0200| [eb344862e4a5493900d2120952f95fb26805350c] | committer: Andreas Rheinhardt

avformat/dashdec: Free subtitle representations on exit

Reviewed-by: Steven Liu <lq at chinaffmpeg.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eb344862e4a5493900d2120952f95fb26805350c
---

 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;



More information about the ffmpeg-cvslog mailing list