summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2014-02-10 17:12:50 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-02-10 17:12:50 +0000
commit44f2b8c2ff4baf64baa0510cd37ac178ef91b7bc (patch)
tree1b335e890fde781a858c3edf3e877d7a1d193152
parent8519b8a1298d80949edadce9c8f0963ef62cc3ff (diff)
parentc5fab66b37d8ad614d83ce4b5d36430523d6af1e (diff)
downloadframeworks_av-44f2b8c2ff4baf64baa0510cd37ac178ef91b7bc.zip
frameworks_av-44f2b8c2ff4baf64baa0510cd37ac178ef91b7bc.tar.gz
frameworks_av-44f2b8c2ff4baf64baa0510cd37ac178ef91b7bc.tar.bz2
Merge "M3UParser: Fix typo in 8883a38a308"
-rw-r--r--media/libstagefright/httplive/M3UParser.cpp2
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;