From bb586a97032759f5a937d9d908eedd25d72499b7 Mon Sep 17 00:00:00 2001 From: Gorilla Maguila Date: Sun, 23 Dec 2018 15:18:55 +0800 Subject: [PATCH] avformat/dashdec: refine uri path with double dot process fix ticket: 7540 --- libavformat/dashdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 1deb60ff21..f4f4e935de 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -506,7 +506,7 @@ static char *get_content_url(xmlNodePtr *baseurl_nodes, } if (val) - av_strlcat(tmp_str, (const char*)val, max_url_size); + ff_make_absolute_url(tmp_str, max_url_size, tmp_str, val); if (rep_id_val) { url = av_strireplace(tmp_str, "$RepresentationID$", (const char*)rep_id_val);