summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2010-05-14 09:44:36 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2010-05-14 09:44:36 -0700
commit4ac3585263ad59def5cf14756347cecab43e6e67 (patch)
tree89ed91b26ca3e58f51278c0c58e77f56f1a766d8
parenta945bfd91aa291fba4d9201ffcb38fce40eab7fe (diff)
parent49475772e0d3c38ab1246deac3d5e5bc6c2bb4e6 (diff)
downloadframeworks_av-4ac3585263ad59def5cf14756347cecab43e6e67.zip
frameworks_av-4ac3585263ad59def5cf14756347cecab43e6e67.tar.gz
frameworks_av-4ac3585263ad59def5cf14756347cecab43e6e67.tar.bz2
merge from open-source master
Change-Id: I934cf85c4673f9ca3a9549c2074907ad572310f4
-rw-r--r--media/libmediaplayerservice/MediaPlayerService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/MediaPlayerService.cpp b/media/libmediaplayerservice/MediaPlayerService.cpp
index 3e1f4a5..6a6afa1 100644
--- a/media/libmediaplayerservice/MediaPlayerService.cpp
+++ b/media/libmediaplayerservice/MediaPlayerService.cpp
@@ -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) {