mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-25 19:25:44 +00:00
FS-9587 #resolve [CV can crash if image is null]
This commit is contained in:
parent
456684e3a2
commit
0c730d208d
@ -836,7 +836,7 @@ static switch_status_t video_thread_callback(switch_core_session_t *session, swi
|
|||||||
int shape_w, shape_h;
|
int shape_w, shape_h;
|
||||||
int cx, cy;
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user