FS-9587 #resolve [CV can crash if image is null]

This commit is contained in:
Anthony Minessale 2016-09-28 16:13:35 -05:00
parent 456684e3a2
commit 0c730d208d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}