Commit 538b14f9 authored by Antoine Cellerier's avatar Antoine Cellerier

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

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