From c5fab66b37d8ad614d83ce4b5d36430523d6af1e Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Mon, 10 Feb 2014 19:09:59 +0200 Subject: M3UParser: Fix typo in 8883a38a308 Change-Id: I09f8deb40b8b34efd4bfcfab6866b7780f8bae96 --- media/libstagefright/httplive/M3UParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media/libstagefright/httplive') 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; -- cgit v1.1