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:
parent
f703658741
commit
5ca710d252
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue