Fix build issues

This commit is contained in:
Martijn Braam
2023-07-25 14:05:28 +02:00
parent 7941becb17
commit 59f18d7bd2
2 changed files with 3 additions and 3 deletions

View File

@@ -1009,7 +1009,7 @@ update_state(MPPipeline *pipeline, const mp_state_proc *new_state)
}
if (camera_changed) {
char *cf;
char cf[PATH_MAX];
if (find_calibration(cf, state_proc.camera->name)) {
state_proc.calibration = parse_calibration_file(cf);
} else {