mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
don't seg when using more than SWITCH_MAX_CODECS and bump SWITCH_MAX_CODECS to 50 (we have more than 30 in tree) (MODFORM-10)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8863 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -132,7 +132,7 @@ static switch_status_t native_file_file_get_string(switch_file_handle_t *handle,
|
||||
|
||||
/* Registration */
|
||||
|
||||
static char *supported_formats[SWITCH_MAX_CODECS] = { 0 };
|
||||
static char *supported_formats[SWITCH_MAX_CODECS + 1] = { 0 };
|
||||
|
||||
SWITCH_MODULE_LOAD_FUNCTION(mod_native_file_load)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user