[FFmpeg-devel] [PATCH 03/17] dshow: fix make checkheaders.

Clément Bœsch ubitux at gmail.com
Wed May 9 10:01:28 CEST 2012


---
 libavdevice/dshow.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavdevice/dshow.h b/libavdevice/dshow.h
index a3f5231..c8ce033 100644
--- a/libavdevice/dshow.h
+++ b/libavdevice/dshow.h
@@ -22,6 +22,9 @@
 #ifndef AVDEVICE_DSHOW_H
 #define AVDEVICE_DSHOW_H
 
+#include "config.h"
+#if CONFIG_DSHOW_INDEV
+
 #define DSHOWDEBUG 0
 
 #include "avdevice.h"
@@ -270,4 +273,5 @@ long          WINAPI libAVFilter_QueryVendorInfo(libAVFilter *, wchar_t **);
 void                 libAVFilter_Destroy(libAVFilter *);
 libAVFilter         *libAVFilter_Create (void *, void *, enum dshowDeviceType);
 
+#endif /* CONFIG_DSHOW_INDEV */
 #endif /* AVDEVICE_DSHOW_H */
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list