Loading media/libstagefright/httplive/M3UParser.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -425,7 +425,7 @@ static bool MakeURL(const char *baseURL, const char *url, AString *out) { end = strlen(baseURL); end = strlen(baseURL); } } // Check for the last slash before a potential query string // Check for the last slash before a potential query string for (ssize_t pos - 1 = end; pos >= 0; pos--) { for (ssize_t pos = end - 1; pos >= 0; pos--) { if (baseURL[pos] == '/') { if (baseURL[pos] == '/') { end = pos; end = pos; break; break; Loading Loading
media/libstagefright/httplive/M3UParser.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -425,7 +425,7 @@ static bool MakeURL(const char *baseURL, const char *url, AString *out) { end = strlen(baseURL); end = strlen(baseURL); } } // Check for the last slash before a potential query string // Check for the last slash before a potential query string for (ssize_t pos - 1 = end; pos >= 0; pos--) { for (ssize_t pos = end - 1; pos >= 0; pos--) { if (baseURL[pos] == '/') { if (baseURL[pos] == '/') { end = pos; end = pos; break; break; Loading