From d3985a2be5a4c77a4369ce5d7250cc6e57d21f39 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Tue, 10 Feb 2015 14:54:01 +0100 Subject: [PATCH] Lua: use the VLC wrapper to open files Ref #13752 --- modules/lua/vlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lua/vlc.c b/modules/lua/vlc.c index d6e0b40912..091e493ae2 100644 --- a/modules/lua/vlc.c +++ b/modules/lua/vlc.c @@ -668,7 +668,7 @@ static int vlc_sd_probe_Open( vlc_object_t *obj ) free( psz_filename ); goto error; } - if( luaL_dofile( L, psz_filename ) ) + if( vlclua_dofile( VLC_OBJECT(probe), L, psz_filename ) ) { msg_Err( probe, "Error loading script %s: %s", psz_filename, -- 2.39.2