1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

update donations. fix hls path bug.

This commit is contained in:
winlin 2015-03-30 14:08:17 +08:00
parent 692b751da8
commit cd682ae4be
5 changed files with 41 additions and 49 deletions

View file

@ -226,6 +226,11 @@ bool srs_string_ends_with(string str, string flag)
return str.rfind(flag) == str.length() - flag.length();
}
bool srs_string_starts_with(string str, string flag)
{
return str.find(flag) == 0;
}
int srs_do_create_dir_recursively(string dir)
{
int ret = ERROR_SUCCESS;