[vlc-devel] commit: Fixed segafult when stopping BDA. (Laurent Aimar )
git version control
git at videolan.org
Fri Apr 24 21:34:22 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Apr 24 20:25:34 2009 +0200| [25f9e65fd9c325c6c7872fb7e95af0871e7d8921] | committer: Laurent Aimar
Fixed segafult when stopping BDA.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=25f9e65fd9c325c6c7872fb7e95af0871e7d8921
---
modules/access/bda/bda.c | 3 ---
modules/access/bda/bda.h | 3 ---
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/modules/access/bda/bda.c b/modules/access/bda/bda.c
index 4c0773b..cfdd610 100644
--- a/modules/access/bda/bda.c
+++ b/modules/access/bda/bda.c
@@ -511,9 +511,6 @@ static void Close( vlc_object_t *p_this )
dvb_deleteBDAGraph( p_access );
- vlc_mutex_destroy( &p_sys->lock );
- vlc_cond_destroy( &p_sys->wait );
-
free( p_sys );
}
diff --git a/modules/access/bda/bda.h b/modules/access/bda/bda.h
index 9547cae..94b3de8 100644
--- a/modules/access/bda/bda.h
+++ b/modules/access/bda/bda.h
@@ -79,8 +79,5 @@ long dvb_ReadBuffer( access_t* p_access, long* l_buffer_len, BYTE* p_buff );
****************************************************************************/
struct access_sys_t
{
- /* These 2 must be left at the beginning */
- vlc_mutex_t lock;
- vlc_cond_t wait;
BDAGraph *p_bda_module;
};
More information about the vlc-devel
mailing list