Message ID | 20200409015046.831-1-lance.lmwang@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [FFmpeg-devel,v1] avformat/hlsenc: return media_url directly if failed to get seperator | expand |
Context | Check | Description |
---|---|---|
andriy/ffmpeg-patchwork | success | Make fate finished |
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index a29b2625e4..e34833fd89 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -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;