FS-6681: fix dup of audio/wav and add audio/x-wav

This commit is contained in:
Brian West 2014-07-24 08:30:44 -05:00
parent ac265ce495
commit d9eafdf0cb
1 changed files with 1 additions and 1 deletions

View 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";
}
}