]> git.sesse.net Git - vlc/blobdiff - modules/access/dshow/common.h
Cosmetic about i_zoom limitation (patch 3/3)
[vlc] / modules / access / dshow / common.h
index b1103ea97dc4d8092b7b96fe2f4fbd1f2d668ed9..6a3f2b5ea22a3c1fb09f567f767a658782e88026 100644 (file)
@@ -34,11 +34,16 @@ using namespace std;
 #   include <unknwn.h>
 #   include <ole2.h>
 #   include <limits.h>
+#   ifdef _WINGDI_
+#      undef _WINGDI_
+#   endif
 #   define _WINGDI_ 1
 #   define AM_NOVTABLE
 #   define _OBJBASE_H_
 #   undef _X86_
-#   define _I64_MAX LONG_LONG_MAX
+#   ifndef _I64_MAX
+#     define _I64_MAX LONG_LONG_MAX
+#   endif
 #   define LONGLONG long long
 #endif
 
@@ -90,5 +95,5 @@ struct access_sys_t
     int            i_width;
     int            i_height;
     int            i_chroma;
-    vlc_bool_t     b_chroma; /* Force a specific chroma on the dshow input */
+    bool           b_chroma; /* Force a specific chroma on the dshow input */
 };