diff options
author | Martin Storsjo <martin@martin.st> | 2014-02-10 19:09:59 +0200 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2014-02-10 19:09:59 +0200 |
commit | c5fab66b37d8ad614d83ce4b5d36430523d6af1e (patch) | |
tree | 1b335e890fde781a858c3edf3e877d7a1d193152 /media/libstagefright/httplive | |
parent | 8519b8a1298d80949edadce9c8f0963ef62cc3ff (diff) | |
download | frameworks_av-c5fab66b37d8ad614d83ce4b5d36430523d6af1e.zip frameworks_av-c5fab66b37d8ad614d83ce4b5d36430523d6af1e.tar.gz frameworks_av-c5fab66b37d8ad614d83ce4b5d36430523d6af1e.tar.bz2 |
M3UParser: Fix typo in 8883a38a308
Change-Id: I09f8deb40b8b34efd4bfcfab6866b7780f8bae96
Diffstat (limited to 'media/libstagefright/httplive')
-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; |