mirror of
https://github.com/lxsang/antd-tunnel-publishers
synced 2024-12-27 10:28:22 +01:00
improvement code
This commit is contained in:
parent
3c1514b794
commit
5d551d8a23
BIN
dist/antd-publishers-0.1.0a.tar.gz
vendored
BIN
dist/antd-publishers-0.1.0a.tar.gz
vendored
Binary file not shown.
@ -230,7 +230,7 @@ int cam_grab_frame(cam_setting_t *opts)
|
|||||||
M_ERROR(MODULE_NAME, "Unable to write frame to file: %s", strerror(errno));
|
M_ERROR(MODULE_NAME, "Unable to write frame to file: %s", strerror(errno));
|
||||||
}
|
}
|
||||||
close(file);
|
close(file);
|
||||||
M_LOG(MODULE_NAME, "written %d bytes to file", size);
|
M_LOG(MODULE_NAME, "written %d bytes to file", (int)size);
|
||||||
}
|
}
|
||||||
|
|
||||||
free(jpeg_frame);
|
free(jpeg_frame);
|
||||||
@ -644,7 +644,7 @@ int main(const int argc, const char **argv)
|
|||||||
}
|
}
|
||||||
else if (expirations_count > 1u)
|
else if (expirations_count > 1u)
|
||||||
{
|
{
|
||||||
M_ERROR(MODULE_NAME, "LOOP OVERFLOW COUNT: %llu", expirations_count);
|
M_ERROR(MODULE_NAME, "LOOP OVERFLOW COUNT: %lu", (long unsigned int)expirations_count);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user