FS-11895: [build] fix test build
This commit is contained in:
parent
69af7afd4d
commit
4816af2f56
|
@ -53,6 +53,7 @@ FST_CORE_BEGIN("conf")
|
||||||
uint32_t flags = SWITCH_FILE_FLAG_WRITE | SWITCH_FILE_DATA_SHORT | SWITCH_FILE_FLAG_VIDEO;
|
uint32_t flags = SWITCH_FILE_FLAG_WRITE | SWITCH_FILE_DATA_SHORT | SWITCH_FILE_FLAG_VIDEO;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
switch_image_t *ccimg;
|
switch_image_t *ccimg;
|
||||||
|
switch_rgb_color_t color = {0};
|
||||||
|
|
||||||
fst_requires(img);
|
fst_requires(img);
|
||||||
|
|
||||||
|
@ -72,7 +73,6 @@ FST_CORE_BEGIN("conf")
|
||||||
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);
|
fst_requires(ccimg);
|
||||||
|
|
||||||
switch_rgb_color_t color = {0};
|
|
||||||
color.a = 255;
|
color.a = 255;
|
||||||
|
|
||||||
for (i = 0; i < 30; i++) {
|
for (i = 0; i < 30; i++) {
|
||||||
|
@ -109,6 +109,8 @@ FST_CORE_BEGIN("conf")
|
||||||
switch_size_t len = SAMPLES;
|
switch_size_t len = SAMPLES;
|
||||||
uint32_t flags = SWITCH_FILE_FLAG_WRITE | SWITCH_FILE_DATA_SHORT | SWITCH_FILE_FLAG_VIDEO;
|
uint32_t flags = SWITCH_FILE_FLAG_WRITE | SWITCH_FILE_DATA_SHORT | SWITCH_FILE_FLAG_VIDEO;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
switch_rgb_color_t color = {0};
|
||||||
|
switch_image_t *ccimg;
|
||||||
|
|
||||||
fst_requires(img);
|
fst_requires(img);
|
||||||
|
|
||||||
|
@ -125,10 +127,9 @@ FST_CORE_BEGIN("conf")
|
||||||
status = switch_core_file_write_video(&fh, &frame);
|
status = switch_core_file_write_video(&fh, &frame);
|
||||||
fst_check(status == SWITCH_STATUS_SUCCESS);
|
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);
|
fst_requires(ccimg);
|
||||||
|
|
||||||
switch_rgb_color_t color = {0};
|
|
||||||
color.a = 255;
|
color.a = 255;
|
||||||
|
|
||||||
for (i = 0; i < 30; i++) {
|
for (i = 0; i < 30; i++) {
|
||||||
|
|
Loading…
Reference in New Issue