merge from open-source master
Change-Id: I934cf85c4673f9ca3a9549c2074907ad572310f4
This commit is contained in:
@@ -758,7 +758,7 @@ player_type getPlayerType(const char* url)
|
||||
int len = strlen(FILE_EXTS[i].extension);
|
||||
int start = lenURL - len;
|
||||
if (start > 0) {
|
||||
if (!strncmp(url + start, FILE_EXTS[i].extension, len)) {
|
||||
if (!strncasecmp(url + start, FILE_EXTS[i].extension, len)) {
|
||||
if (FILE_EXTS[i].playertype == VORBIS_PLAYER
|
||||
&& !strncasecmp(url, "http://", 7)
|
||||
&& useStagefrightForHTTP) {
|
||||
|
||||
Reference in New Issue
Block a user