avformat/dashdec: refine uri path with double dot process

fix ticket: 7540
This commit is contained in:
Gorilla Maguila 2018-12-23 15:18:55 +08:00 committed by Steven Liu
parent 8b53d1322f
commit bb586a9703

View File

@ -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);