diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 3959315b67..513c192d5b 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -738,8 +738,8 @@ static void patch_image(switch_image_t *IMG, switch_image_t *img, int x, int y) int w = img->d_w; int h = img->d_h; - switch_assert(img->fmt = SWITCH_IMG_FMT_I420); - switch_assert(IMG->fmt = SWITCH_IMG_FMT_I420); + switch_assert(img->fmt == SWITCH_IMG_FMT_I420); + switch_assert(IMG->fmt == SWITCH_IMG_FMT_I420); for (i = y; i < (y + h) && i < H; i++) { for (j = x; j < (x + w) && j < W; j++) {