FS-11785 [mod_av] fix dead assignments in test code

This commit is contained in:
Chris Rienzo 2019-04-15 20:27:23 +00:00 committed by Andrey Volk
parent 2a8e07d6ef
commit 12316c8d46
1 changed files with 4 additions and 4 deletions

View File

@ -88,8 +88,8 @@ FST_CORE_BEGIN("conf")
switch_img_fill(img, 0, 0, img->d_w, img->d_h, &color);
switch_img_patch(img, ccimg, i * 10, i * 10);
status = switch_core_file_write(&fh, data, &len);
status = switch_core_file_write_video(&fh, &frame);
switch_core_file_write(&fh, data, &len);
switch_core_file_write_video(&fh, &frame);
switch_yield(100000);
}
@ -145,8 +145,8 @@ FST_CORE_BEGIN("conf")
switch_img_fill(img, 0, 0, img->d_w, img->d_h, &color);
switch_img_patch(img, ccimg, i * 10, i * 10);
status = switch_core_file_write(&fh, data, &len);
status = switch_core_file_write_video(&fh, &frame);
switch_core_file_write(&fh, data, &len);
switch_core_file_write_video(&fh, &frame);
switch_yield(100000);
}