]> git.sesse.net Git - vlc/blobdiff - modules/misc/lua/variables.c
Port chain filter to new API. Now supports chaining of chroma conversion and scaling...
[vlc] / modules / misc / lua / variables.c
index 4e00a1191aa57ebff14f603ce24fc30fb9c60da5..723ca80c8b577d3c681b82140cff3134f299cb7f 100644 (file)
@@ -32,7 +32,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 
 #include <lua.h>        /* Low level lua C API */
 #include <lauxlib.h>    /* Higher level C API */
@@ -114,7 +114,7 @@ static int vlclua_tovalue( lua_State *L, int i_type, vlc_value_t *val )
         case VLC_VAR_TIME:
             {
                 double f = luaL_checknumber( L, -1 );
-                val->i_time = (vlc_int64_t)(f*1000000.);
+                val->i_time = (int64_t)(f*1000000.);
             }
             break;
         case VLC_VAR_ADDRESS: