Commit 916c380e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

lua extensions: open a URI, not a filepath

Close #13752
parent 0e740904
...@@ -298,7 +298,7 @@ int ScanLuaCallback( vlc_object_t *p_this, const char *psz_filename, ...@@ -298,7 +298,7 @@ int ScanLuaCallback( vlc_object_t *p_this, const char *psz_filename,
} }
else else
{ {
psz_script = strdup( psz_filename ); psz_script = vlc_path2uri( psz_filename, "file" );
if( !psz_script ) if( !psz_script )
return 0; return 0;
} }
......
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