http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
646d5aa
)
qcap: Ifdef-out code that is not used if V4L support is missing.
author
Francois Gouget
<fgouget@free.fr>
Tue, 12 Apr 2011 17:39:40 +0000
(19:39 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 14 Apr 2011 15:37:18 +0000
(17:37 +0200)
dlls/qcap/yuv.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/qcap/yuv.c
b/dlls/qcap/yuv.c
index 5896ee54c9a0d2f65a95f4879f1e47994936efe5..608e571d1afa330f97dc3de85f93f6879f24e8f8 100644
(file)
--- a/
dlls/qcap/yuv.c
+++ b/
dlls/qcap/yuv.c
@@
-21,6
+21,7
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "config.h"
#include <stdarg.h>
#include "windef.h"
@@
-30,6
+31,9
@@
#include "qcap_main.h"
#include "wine/debug.h"
+/* This is not used if V4L support is missing */
+#ifdef HAVE_LINUX_VIDEODEV_H
+
WINE_DEFAULT_DEBUG_CHANNEL(qcap);
static int yuv_xy[256]; /* Gray value */
@@
-192,3
+196,4
@@
void YUV_To_RGB24(enum YUV_Format format, unsigned char *target, const unsigned
}
}
}
+#endif