Commit d3135a1f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Lua: use the VLC wrapper to open files

Ref #13752

(cherry picked from commit d3985a2be5a4c77a4369ce5d7250cc6e57d21f39)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2989a5d8
...@@ -669,7 +669,7 @@ static int vlc_sd_probe_Open( vlc_object_t *obj ) ...@@ -669,7 +669,7 @@ static int vlc_sd_probe_Open( vlc_object_t *obj )
free( psz_filename ); free( psz_filename );
goto error; 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, msg_Err( probe, "Error loading script %s: %s", psz_filename,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment