[Unit-tests] Fix mac build

* [core] fix build err on Mac
* [mod_av] fix build on macOS
This commit is contained in:
Seven Du
2021-10-24 20:36:52 +08:00
committed by GitHub
parent 712f05578b
commit 408480bae0
2 changed files with 5 additions and 1 deletions

View File

@@ -229,7 +229,7 @@ FST_CORE_BEGIN("conf")
while (1) {
status = switch_core_file_read(&fh, data, &len);
if (status != SWITCH_STATUS_SUCCESS) break;
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "%d\n", len);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "read: %" SWITCH_SIZE_T_FMT "\n", len);
// fst_check(len == SAMPLES);
status = switch_core_file_read_video(&fh, &frame, SVR_FLUSH);