diff -r bca1fb717911 -r ac7e49c234d8 gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c --- a/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c Fri Nov 10 19:21:45 2006 +0000 +++ b/gst-plugins-nuvdemux/nuvdemux/gstnuvdemux.c Fri Nov 10 19:35:39 2006 +0000 @@ -177,8 +177,6 @@ gst_element_add_pad (GST_ELEMENT (nuv), nuv->sinkpad); - gst_nuv_demux_index_init( &nuv->index_entries ); - nuv->adapter = NULL; nuv->mpeg_buffer = NULL; nuv->h = NULL; @@ -196,11 +194,6 @@ gst_buffer_unref (nuv->mpeg_buffer); } - if ( nuv->index_entries != NULL ) { - gst_nuv_demux_index_clean( &nuv->index_entries ); - nuv->index_entries = NULL; - } - gst_nuv_demux_destoy_src_pad (nuv); gst_nuv_demux_reset (nuv); if (nuv->adapter != NULL) {