mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
add assert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6182 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
2e3d02ef5c
commit
ce21d41785
@ -136,6 +136,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
|
||||
goto done;
|
||||
}
|
||||
|
||||
assert((*frame)->codec != NULL);
|
||||
if ((session->read_codec && (*frame)->codec && session->read_codec->implementation != (*frame)->codec->implementation)) {
|
||||
need_codec = TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user