make ilbc fail the call when the frame is wrong

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4342 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-02-21 17:59:08 +00:00
parent f703658741
commit 5ca710d252
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ static switch_status_t switch_ilbc_decode(switch_codec_t *codec,
}
} else {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "yo this frame is an odd size [%d]\n", encoded_data_len);
return SWITCH_STATUS_FALSE;
}
return SWITCH_STATUS_SUCCESS;
}