summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/avdevice/videodevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/avdevice/videodevice.cpp')
-rw-r--r--kopete/libkopete/avdevice/videodevice.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kopete/libkopete/avdevice/videodevice.cpp b/kopete/libkopete/avdevice/videodevice.cpp
index e12fb02f..1df1220f 100644
--- a/kopete/libkopete/avdevice/videodevice.cpp
+++ b/kopete/libkopete/avdevice/videodevice.cpp
@@ -2237,7 +2237,11 @@ TQString VideoDevice::pixelFormatName(int pixelformat)
int VideoDevice::detectPixelFormats()
{
+#if defined(__linux__) && defined(ENABLE_AV)
+#ifdef V4L2_CAP_VIDEO_CAPTURE
int err = 0;
+#endif
+#endif
switch(m_driver)
{
#if defined(__linux__) && defined(ENABLE_AV)