Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21a534d9 authored by The Android Open Source Project's avatar The Android Open Source Project Committed by Android Git Automerger
Browse files

am 1d628c5d: merge from open-source master

Merge commit '1d628c5d' into kraken

* commit '1d628c5d':
  Accept media files by file extension in case insensitive manner.
parents 9f0810e8 1d628c5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -754,7 +754,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) {