don't null check what we know won't be null

This commit is contained in:
Michael Jerris 2014-05-01 19:00:24 -04:00
parent 2e3558c43e
commit db1a2de186
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ static switch_status_t switch_silk_decode(switch_codec_t *codec,
if (session) {
jb = switch_core_session_get_jb(session, SWITCH_MEDIA_TYPE_AUDIO);
}
if (jb && codec && codec->cur_frame) {
if (jb && codec->cur_frame) {
for (i = 1; i <= MAX_LBRR_DELAY; i++) {
found_frame = stfu_n_copy_next_frame(jb, (uint32_t)codec->cur_frame->timestamp, codec->cur_frame->seq, (uint16_t)i, &next_frame);
if (found_frame) {