From f289b849013b0604d7386c3183b1aeb096d6ae9b Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Mon, 6 Jun 2016 19:04:02 -0500 Subject: [PATCH] move VIDEO_MAX_FRAME up --- src/zm_local_camera.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/zm_local_camera.h b/src/zm_local_camera.h index fd73d895d..db0a1c671 100644 --- a/src/zm_local_camera.h +++ b/src/zm_local_camera.h @@ -36,6 +36,11 @@ #include #endif // HAVE_LINUX_VIDEODEV2_H +// Required on systems with v4l1 but without v4l2 headers +#ifndef VIDEO_MAX_FRAME +#define VIDEO_MAX_FRAME 32 +#endif + #include "zm_ffmpeg.h" // @@ -105,11 +110,6 @@ protected: static V4L1Data v4l1_data; #endif // ZM_HAS_V4L1 -// Required on systems with v4l1 but without v4l2 headers -#ifndef VIDEO_MAX_FRAME -#define VIDEO_MAX_FRAME 32 -#endif - #if HAVE_LIBSWSCALE static AVFrame **capturePictures; _AVPIXELFORMAT imagePixFormat;