FS-11895: [build] fix test build

This commit is contained in:
Mike Jerris 2019-06-27 17:52:27 -04:00
parent 69af7afd4d
commit 4816af2f56
1 changed files with 4 additions and 3 deletions

View File

@ -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++) {