From: William King Date: Thu, 16 Apr 2015 15:29:33 +0000 (-0700) Subject: CID: 1294549 comparison vs assignment X-Git-Tag: v1.6.2~614^2~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99f61f7ab8084ab526dd0ecf5a9256312035f66b;p=thirdparty%2Ffreeswitch.git CID: 1294549 comparison vs assignment --- diff --git a/src/switch_core_video.c b/src/switch_core_video.c index 500c1bc388..4ee233d2c8 100644 --- a/src/switch_core_video.c +++ b/src/switch_core_video.c @@ -1405,7 +1405,7 @@ SWITCH_DECLARE(switch_status_t) switch_img_fit(switch_image_t **srcP, int width, SWITCH_DECLARE(switch_status_t) switch_img_convert(switch_image_t *src, switch_convert_fmt_t fmt, void *dest, switch_size_t *size) { - switch_assert(src->fmt = SWITCH_IMG_FMT_I420); + switch_assert(src->fmt == SWITCH_IMG_FMT_I420); switch (fmt) { case SWITCH_CONVERT_FMT_YUYV: