[MPlayer-cvslog] r20941 - trunk/libmpdemux/demux_nut.c

ods15 subversion at mplayerhq.hu
Wed Nov 15 12:26:05 CET 2006


Author: ods15
Date: Wed Nov 15 12:26:05 2006
New Revision: 20941

Modified:
   trunk/libmpdemux/demux_nut.c

Log:
update to libnut API, don't free the streams


Modified: trunk/libmpdemux/demux_nut.c
==============================================================================
--- trunk/libmpdemux/demux_nut.c	(original)
+++ trunk/libmpdemux/demux_nut.c	Wed Nov 15 12:26:05 2006
@@ -275,9 +275,8 @@
 }
 
 static void demux_close_nut(demuxer_t *demuxer) {
-	nut_context_t * nut = ((nut_priv_t*)demuxer->priv)->nut;
-	nut_demuxer_uninit(nut);
-	free(((nut_priv_t*)demuxer->priv)->s);
+	nut_priv_t * priv = demuxer->priv;
+	nut_demuxer_uninit(priv->nut);
 	free(demuxer->priv);
 	demuxer->priv = NULL;
 }



More information about the MPlayer-cvslog mailing list