mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 03:57:14 +00:00
[core] scan-build: video_bridge_thread() - Dereference of null pointer
This commit is contained in:
1 parent
8126d1f482
commit
cb7db309af
1 file changed
+2
-2
@@ -233,8 +233,8 @@ static void video_bridge_thread(switch_core_session_t *session, void *obj)
|
||||
}
|
||||
|
||||
|
||||
if (switch_test_flag(read_frame, SFF_CNG) ||
|
||||
switch_channel_test_flag(channel, CF_LEG_HOLDING) || switch_channel_test_flag(b_channel, CF_VIDEO_READ_FILE_ATTACHED)) {
|
||||
if (read_frame && (switch_test_flag(read_frame, SFF_CNG) ||
|
||||
switch_channel_test_flag(channel, CF_LEG_HOLDING) || switch_channel_test_flag(b_channel, CF_VIDEO_READ_FILE_ATTACHED))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user