feat(video): can build without video

This commit is contained in:
2025-11-23 00:45:54 +01:00
parent d9074c366e
commit 01266e7823
10 changed files with 43 additions and 19 deletions
+5 -1
View File
@@ -1,3 +1,5 @@
#ifdef VIDEO_IN
#include <bsd/string.h>
#include <errno.h>
#include <fcntl.h>
@@ -373,4 +375,6 @@ void video_free(const VideoCapture *video_capture) {
if (video_capture->fd != -1) {
close(video_capture->fd);
}
}
}
#endif /* VIDEO_IN */