feat(video): can build without video
This commit is contained in:
+5
-1
@@ -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 */
|
||||
Reference in New Issue
Block a user