[vlc-devel] commit: Don't call the demux close function ourselves, the core will do it. (Antoine Cellerier )

git version control git at videolan.org
Fri Sep 12 17:59:56 CEST 2008


vlc | branch: 0.9-bugfix | Antoine Cellerier <dionoea at videolan.org> | Fri Sep 12 17:46:28 2008 +0200| [f26d60e460637b8e624a26a45668239a997ac03b] | committer: Antoine Cellerier 

Don't call the demux close function ourselves, the core will do it.
(cherry picked from commit 538b14f9c8be58801017f6e0e2353ba87914b476)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f26d60e460637b8e624a26a45668239a997ac03b
---

 modules/misc/lua/demux.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/misc/lua/demux.c b/modules/misc/lua/demux.c
index 8928ee7..b106cf5 100644
--- a/modules/misc/lua/demux.c
+++ b/modules/misc/lua/demux.c
@@ -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;
     }
 




More information about the vlc-devel mailing list