From: Brian West Date: Thu, 24 Jul 2014 13:30:44 +0000 (-0500) Subject: FS-6681: fix dup of audio/wav and add audio/x-wav X-Git-Tag: v1.4.8~10^2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9eafdf0cb12ac87d90babb7774579734729ce97;p=thirdparty%2Ffreeswitch.git FS-6681: fix dup of audio/wav and add audio/x-wav --- diff --git a/src/mod/applications/mod_httapi/mod_httapi.c b/src/mod/applications/mod_httapi/mod_httapi.c index dc48c34b44..a97287be5a 100644 --- a/src/mod/applications/mod_httapi/mod_httapi.c +++ b/src/mod/applications/mod_httapi/mod_httapi.c @@ -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"; } }