]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/atmo/AtmoDefs.h
Replace argument = realloc( argument, size ); with realloc_or_free() in modules/...
[vlc] / modules / video_filter / atmo / AtmoDefs.h
index 569bac0a5868e39ba0525ea9b876ffd707db2b13..7ee1c4ed1237e7468ba1fe53e37a2e7b579cbefa 100644 (file)
 
 #if defined(__LIBVLC__)
 #   include "config.h"
-#   include <vlc/vlc.h>
+
+#   define __STDC_CONSTANT_MACROS 1
+#   include <inttypes.h>
+
+#   include <vlc_common.h>
 
 /* some things need to be changed if this code is used inside VideoLan Filter Module */
 #   define _ATMO_VLC_PLUGIN_
-#   define ATMO_BOOL vlc_bool_t
-#   define ATMO_TRUE VLC_TRUE
-#   define ATMO_FALSE VLC_FALSE
+#   define ATMO_BOOL bool
+#   define ATMO_TRUE true
+#   define ATMO_FALSE false
 
 #else
 
@@ -68,7 +72,7 @@ typedef struct
 
 
 
-// maximal Anzahl Kanäle...
+// maximal Anzahl Kanäle...
 #define ATMO_NUM_CHANNELS   5
 
 // capture width/height