summaryrefslogtreecommitdiff
path: root/libavformat/dashdec.c
diff options
context:
space:
mode:
authorGorilla Maguila <gorilla.maguila@gmail.com>2018-12-23 15:18:55 +0800
committerSteven Liu <lq@chinaffmpeg.org>2018-12-23 15:18:55 +0800
commitbb586a97032759f5a937d9d908eedd25d72499b7 (patch)
treeecf792d74786a9d8be7ad9e3268bee310382772f /libavformat/dashdec.c
parent8b53d1322fefa8c88c5f22645f6c4777a549cad5 (diff)
avformat/dashdec: refine uri path with double dot process
fix ticket: 7540
Diffstat (limited to 'libavformat/dashdec.c')
-rw-r--r--libavformat/dashdec.c2
1 files changed, 1 insertions, 1 deletions
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);