Commit df08db07 authored by Limin Wang's avatar Limin Wang Committed by Steven Liu

avformat/hlsenc: return media_url directly if failed to get seperator

Fix ticket: 8606
Signed-off-by: 's avatarLimin Wang <lance.lmwang@gmail.com>
parent 081ef586
......@@ -1251,6 +1251,8 @@ static const char* get_relative_url(const char *master_url, const char *media_ur
av_log(NULL, AV_LOG_WARNING, "Unable to find relative url\n");
return NULL;
}
} else {
return media_url;
}
return media_url + base_len + 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment