fix webcam build error (#2320)

This commit is contained in:
Dean Lee 2020-10-12 13:45:19 +08:00 committed by GitHub
parent 85a42ed12b
commit 8fc9cfea38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,6 @@ void camera_close(CameraState *s) {
}
void camera_release_buffer(void *cookie, int buf_idx) {
CameraState *s = static_cast<CameraState *>(cookie);
}
void camera_init(CameraState *s, int camera_id, unsigned int fps) {
@ -262,7 +261,6 @@ void cameras_close(MultiCameraState *s) {
void cameras_run(MultiCameraState *s) {
set_thread_name("webcam_thread");
int err;
pthread_t rear_thread_handle;
err = pthread_create(&rear_thread_handle, NULL,
rear_thread, &s->rear);