]> git.sesse.net Git - vlc/commitdiff
OpenCV: include config.h first
authorRémi Duraffort <ivoire@videolan.org>
Sun, 7 Mar 2010 19:36:06 +0000 (20:36 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Sun, 7 Mar 2010 19:40:31 +0000 (20:40 +0100)
modules/video_filter/opencv_example.cpp
modules/video_filter/opencv_wrapper.c

index 4f1f08751484f8b6af9ad7d19c90ba9e0dc64773..159697f4cdcbcad8457915a3c341e440a55531f9 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <cxcore.h>
-#include <cv.h>
-#include <highgui.h>
-
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -42,6 +38,9 @@
 #include <vlc_image.h>
 #include "filter_event_info.h"
 
+#include <cxcore.h>
+#include <cv.h>
+
 /*****************************************************************************
  * filter_sys_t : filter descriptor
  *****************************************************************************/
index f0bea126b44f082342688da5ed32707ddd14d4be..2055dbf9d4d0ad1fa18ecb2e688189a4b962fa89 100644 (file)
  * Preamble
  *****************************************************************************/
 
-#include <cxcore.h>
-#include <cv.h>
-#include <highgui.h>
-
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
@@ -45,6 +41,9 @@
 #include <vlc_input.h>
 #include <vlc_playlist.h>
 
+#include <cxcore.h>
+#include <cv.h>
+
 
 /*****************************************************************************
  * Local prototypes