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:
parent
081ef58619
commit
df08db0711
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user