add some more mime types for wav and mp3

This commit is contained in:
Anthony Minessale
2013-03-15 15:24:55 -05:00
parent bd72a7fc60
commit abdc4bf091
3 changed files with 24 additions and 2 deletions

View File

@@ -122,6 +122,26 @@ SWITCH_DECLARE(switch_status_t) switch_frame_free(switch_frame_t **frame)
return SWITCH_STATUS_SUCCESS;
}
SWITCH_DECLARE(int) switch_strcasecmp_any(const char *str, ...)
{
va_list ap;
const char *next_str = 0;
int r = 0;
va_start(ap, str);
while ((next_str = va_arg(ap, const char *))) {
if (!strcasecmp(str, next_str)) {
r = 1;
break;
}
}
va_end(ap);
return r;
}
SWITCH_DECLARE(char *) switch_find_parameter(const char *str, const char *param, switch_memory_pool_t *pool)
{