From: Seven Du Date: Fri, 30 Jan 2015 00:19:56 +0000 (+0800) Subject: FS-7513: fix assert X-Git-Tag: v1.6.2~614^2~457 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bdd80499d4552eee823201b7cc15eddd0c18c0e;p=thirdparty%2Ffreeswitch.git FS-7513: fix assert --- 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++) {