From: Anthony Minessale Date: Wed, 28 Jan 2015 03:14:51 +0000 (-0600) Subject: FS-7500: fix compile err X-Git-Tag: v1.6.2~614^2~468 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f5989c45344981291f90a03d00aef27d934ff18;p=thirdparty%2Ffreeswitch.git FS-7500: fix compile err --- diff --git a/src/switch_core_video.c b/src/switch_core_video.c index b524b4676a..0996f467c1 100644 --- a/src/switch_core_video.c +++ b/src/switch_core_video.c @@ -75,9 +75,10 @@ SWITCH_DECLARE(void) switch_img_free(switch_image_t **img) SWITCH_DECLARE(void) switch_img_copy(switch_image_t *img, switch_image_t **new_img) { + int i, j, k = 1; + switch_assert(img); switch_assert(new_img); - int i, j, k = 1; if (!img->fmt == SWITCH_IMG_FMT_I420) return;