mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 07:34:19 +00:00
FS-9587 #resolve [CV can crash if image is null]
This commit is contained in:
1 parent
456684e3a2
commit
0c730d208d
1 file changed
+1
-1
@@ -836,7 +836,7 @@ static switch_status_t video_thread_callback(switch_core_session_t *session, swi
|
||||
int shape_w, shape_h;
|
||||
int cx, cy;
|
||||
|
||||
if (context->overlay[i]->abs == POS_NONE && !context->detect_event && !context->shape[0].cx) {
|
||||
if (!overlay->png || context->overlay[i]->abs == POS_NONE && !context->detect_event && !context->shape[0].cx) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user