diff --git a/libarmbox/video.cpp b/libarmbox/video.cpp index 901d620..b582b29 100644 --- a/libarmbox/video.cpp +++ b/libarmbox/video.cpp @@ -853,7 +853,7 @@ bool getvideo2(unsigned char *video, int xres, int yres) perror(videosnapshot); return false; } - ssize_t r = read(fd_video, video, xres * yres * 3); + //ssize_t r = read(fd_video, video, xres * yres * 3); close(fd_video); return true; }