diff options
author | Marco Nelissen <marcone@google.com> | 2014-02-10 09:02:15 -0800 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2014-02-10 09:02:15 -0800 |
commit | e175d77bb610675ba2f70f24449189995ddeaf5b (patch) | |
tree | 44c37850eec481e59b114a9eb867854a5ed1b0dc | |
parent | 03357add725340c290b10f50db090267bbf511b1 (diff) | |
download | frameworks_av-e175d77bb610675ba2f70f24449189995ddeaf5b.zip frameworks_av-e175d77bb610675ba2f70f24449189995ddeaf5b.tar.gz frameworks_av-e175d77bb610675ba2f70f24449189995ddeaf5b.tar.bz2 |
Fix build
Change-Id: I9196e316dcf7a58096658313bdc925b11b23a7de
-rw-r--r-- | media/libstagefright/httplive/M3UParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/httplive/M3UParser.cpp b/media/libstagefright/httplive/M3UParser.cpp index 292d1c4..5ef7c0f 100644 --- a/media/libstagefright/httplive/M3UParser.cpp +++ b/media/libstagefright/httplive/M3UParser.cpp @@ -425,7 +425,7 @@ static bool MakeURL(const char *baseURL, const char *url, AString *out) { end = strlen(baseURL); } // 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] == '/') { end = pos; break; |