Created
March 2, 2010 11:54
-
-
Save atsushieno/319454 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/media/libmediaplayerservice/MediaPlayerService.cpp b/media/libmediaplayerservice/MediaPlayerService.cpp | |
index df673a4..49032e7 100644 | |
--- a/media/libmediaplayerservice/MediaPlayerService.cpp | |
+++ b/media/libmediaplayerservice/MediaPlayerService.cpp | |
@@ -682,7 +682,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)) { | |
return FILE_EXTS[i].playertype; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment