]> git.sesse.net Git - vlc/blobdiff - modules/access/dshow/common.h
Use pl_Yield and pl_Release instead of vlc_object_find.
[vlc] / modules / access / dshow / common.h
index 8a601619d7df997295dc4d0123a5e2b8cc28e716..6a3f2b5ea22a3c1fb09f567f767a658782e88026 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#ifdef size_t
-#undef size_t
-#endif
-#ifdef ptrdiff_t
-#undef ptrdiff_t
-#endif
 #include <string>
 #include <list>
 #include <deque>
@@ -47,7 +41,9 @@ using namespace std;
 #   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
 
@@ -99,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 */
 };