mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-07 22:03:50 +00:00
don't null check what we know won't be null
This commit is contained in:
parent
2e3558c43e
commit
db1a2de186
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user