From 7bdd80499d4552eee823201b7cc15eddd0c18c0e Mon Sep 17 00:00:00 2001 From: Seven Du Date: Fri, 30 Jan 2015 08:19:56 +0800 Subject: [PATCH] FS-7513: fix assert --- src/mod/applications/mod_conference/mod_conference.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++) {