From ec24fea757624f08bf4ff3674cd254407997bdcb Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 29 Nov 2003 14:47:50 +0000 Subject: lets give another chance to vorbis_dsp_clear. the segfaults were probably due deinitializing a not initialized structure. CVS patchset: 5815 CVS date: 2003/11/29 14:47:50 --- src/libvorbis/xine_decoder.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/libvorbis/xine_decoder.c b/src/libvorbis/xine_decoder.c index 66e7f8f92..abfcdcf38 100644 --- a/src/libvorbis/xine_decoder.c +++ b/src/libvorbis/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.32 2003/11/29 14:28:02 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.33 2003/11/29 14:47:50 miguelfreitas Exp $ * * (ogg/)vorbis audio decoder plugin (libvorbis wrapper) for xine */ @@ -278,14 +278,7 @@ static void vorbis_dispose (audio_decoder_t *this_gen) { lprintf("deinitializing decoder\n"); vorbis_block_clear(&this->vb); - /* I couldn't find documentation on how vorbis_dsp_state - * should be cleared (synthesis mode). - * - * vorbis_dsp_clear() seems to segfault sometimes and other - * projects are not using it in their decoders. - * vorbis_synthesis_clear() does not exist anymore. - */ - /* vorbis_dsp_clear(&this->vd); */ + vorbis_dsp_clear(&this->vd); } vorbis_comment_clear(&this->vc); -- cgit v1.2.3