]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7500: fix compile err
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 28 Jan 2015 03:14:51 +0000 (21:14 -0600)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:46:55 +0000 (12:46 -0500)
src/switch_core_video.c

index b524b4676a5579ca098be54c8e93dd162efd7618..0996f467c1b48a0ce601e26277af9ee5dab7546e 100644 (file)
@@ -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;