History

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

Fix ticket: 8606 Signed-off-by: Limin Wang <lance.lmwang@gmail.com>

Limin Wang committed 6 years ago

Commit df08db01 parent 081ef581 file · +2 −0Browse files

Unified · Split

libavformat/hlsenc.c+2−0
@@ -1251,6 +1251,8 @@ static const char* get_relative_url(const char *master_url, const char *media_ur · 1250 unmodified lines
1251 av_log(NULL, AV_LOG_WARNING, "Unable to find relative url\n");1251 av_log(NULL, AV_LOG_WARNING, "Unable to find relative url\n");
1252 return NULL;1252 return NULL;
1253 }1253 }
1254 } else {
1255 return media_url;
1254 }1256 }
1255 1257
1256 return media_url + base_len + 1;1258 return media_url + base_len + 1;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t