From: dulinjun Date: Fri, 25 Jan 2019 05:49:58 +0000 (+0000) Subject: Update src/switch_core_video.c X-Git-Tag: v1.8.6~1^2~136^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=908793e5fe505a1e690397c74322946c7c9714fa;p=thirdparty%2Ffreeswitch.git Update src/switch_core_video.c --- diff --git a/src/switch_core_video.c b/src/switch_core_video.c index 96a39a107f..d199df5ccd 100644 --- a/src/switch_core_video.c +++ b/src/switch_core_video.c @@ -579,7 +579,7 @@ SWITCH_DECLARE(void) switch_img_copy(switch_image_t *img, switch_image_t **new_i if (*new_img) { if ((*new_img)->fmt != SWITCH_IMG_FMT_I420 && (*new_img)->fmt != SWITCH_IMG_FMT_ARGB) return; - if (img->d_w != (*new_img)->d_w || img->d_h != (*new_img)->d_w ) { + if (img->d_w != (*new_img)->d_w || img->d_h != (*new_img)->d_h ) { new_fmt = (*new_img)->fmt; switch_img_free(new_img); }