Commit 6a48fcec authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

qcap: Ifdef-out code that is not used if V4L support is missing.

parent 646d5aa0
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include "windef.h" #include "windef.h"
...@@ -30,6 +31,9 @@ ...@@ -30,6 +31,9 @@
#include "qcap_main.h" #include "qcap_main.h"
#include "wine/debug.h" #include "wine/debug.h"
/* This is not used if V4L support is missing */
#ifdef HAVE_LINUX_VIDEODEV_H
WINE_DEFAULT_DEBUG_CHANNEL(qcap); WINE_DEFAULT_DEBUG_CHANNEL(qcap);
static int yuv_xy[256]; /* Gray value */ static int yuv_xy[256]; /* Gray value */
...@@ -192,3 +196,4 @@ void YUV_To_RGB24(enum YUV_Format format, unsigned char *target, const unsigned ...@@ -192,3 +196,4 @@ void YUV_To_RGB24(enum YUV_Format format, unsigned char *target, const unsigned
} }
} }
} }
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment