From 4816af2f56695dca85d08c2cda8ff18c94290d14 Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Thu, 27 Jun 2019 17:52:27 -0400 Subject: [PATCH] FS-11895: [build] fix test build --- src/mod/applications/mod_av/test/test_avformat.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mod/applications/mod_av/test/test_avformat.c b/src/mod/applications/mod_av/test/test_avformat.c index b03cae80cc..de7150e3c9 100644 --- a/src/mod/applications/mod_av/test/test_avformat.c +++ b/src/mod/applications/mod_av/test/test_avformat.c @@ -53,6 +53,7 @@ FST_CORE_BEGIN("conf") uint32_t flags = SWITCH_FILE_FLAG_WRITE | SWITCH_FILE_DATA_SHORT | SWITCH_FILE_FLAG_VIDEO; int i = 0; switch_image_t *ccimg; + switch_rgb_color_t color = {0}; fst_requires(img); @@ -72,7 +73,6 @@ FST_CORE_BEGIN("conf") ccimg = switch_img_read_png("./cluecon.png", SWITCH_IMG_FMT_ARGB); fst_requires(ccimg); - switch_rgb_color_t color = {0}; color.a = 255; for (i = 0; i < 30; i++) { @@ -109,6 +109,8 @@ FST_CORE_BEGIN("conf") switch_size_t len = SAMPLES; uint32_t flags = SWITCH_FILE_FLAG_WRITE | SWITCH_FILE_DATA_SHORT | SWITCH_FILE_FLAG_VIDEO; int i = 0; + switch_rgb_color_t color = {0}; + switch_image_t *ccimg; fst_requires(img); @@ -125,10 +127,9 @@ FST_CORE_BEGIN("conf") status = switch_core_file_write_video(&fh, &frame); fst_check(status == SWITCH_STATUS_SUCCESS); - switch_image_t *ccimg = switch_img_read_png("./cluecon.png", SWITCH_IMG_FMT_ARGB); + ccimg = switch_img_read_png("./cluecon.png", SWITCH_IMG_FMT_ARGB); fst_requires(ccimg); - switch_rgb_color_t color = {0}; color.a = 255; for (i = 0; i < 30; i++) { -- 2.39.2