Commit f26d60e4 authored by Antoine Cellerier's avatar Antoine Cellerier

Don't call the demux close function ourselves, the core will do it.

(cherry picked from commit 538b14f9)
parent 789fe96a
......@@ -256,7 +256,6 @@ static int Demux( demux_t *p_demux )
{
msg_Warn( p_demux, "Error while runing script %s, "
"function parse() not found", psz_filename );
Close_LuaPlaylist( VLC_OBJECT( p_demux ) );
return VLC_EGENERIC;
}
......@@ -265,7 +264,6 @@ static int Demux( demux_t *p_demux )
msg_Warn( p_demux, "Error while runing script %s, "
"function parse(): %s", psz_filename,
lua_tostring( L, lua_gettop( L ) ) );
Close_LuaPlaylist( VLC_OBJECT( p_demux ) );
return VLC_EGENERIC;
}
......
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