]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6681: fix dup of audio/wav and add audio/x-wav
authorBrian West <brian@freeswitch.org>
Thu, 24 Jul 2014 13:30:44 +0000 (08:30 -0500)
committerBrian West <brian@freeswitch.org>
Thu, 24 Jul 2014 13:30:44 +0000 (08:30 -0500)
src/mod/applications/mod_httapi/mod_httapi.c

index dc48c34b4466f5ce79ad8d95f3ef8a082aa9307a..a97287be5abc1f30a43994186bc7cdcc13ee7854 100644 (file)
@@ -2691,7 +2691,7 @@ static switch_status_t locate_url_file(http_file_context_t *context, const char
                        if (switch_strcasecmp_any(ct, "audio/mpeg", "audio/x-mpeg", "audio/mp3", "audio/x-mp3", "audio/mpeg3", 
                                                                          "audio/x-mpeg3", "audio/mpg", "audio/x-mpg", "audio/x-mpegaudio", NULL)) {
                                newext = "mp3";
-                       } else if (switch_strcasecmp_any(ct, "audio/wav", "audio/x-wave", "audio/wav", "audio/wave", NULL)) {
+                       } else if (switch_strcasecmp_any(ct, "audio/x-wav", "audio/x-wave", "audio/wav", "audio/wave", NULL)) {
                                newext = "wav";
                        }
                }