1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

Fix ticket: 8606
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
Limin Wang 2020-04-09 09:50:46 +08:00 committed by Steven Liu
parent 081ef58619
commit df08db0711

View File

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