summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-29 14:47:50 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-29 14:47:50 +0000
commitec24fea757624f08bf4ff3674cd254407997bdcb (patch)
treecaad6bd31530ce731aa9729fd68480b2bfcafa1d
parentb1aa35223f46ad91352426d054bd401557c6322d (diff)
downloadxine-lib-ec24fea757624f08bf4ff3674cd254407997bdcb.tar.gz
xine-lib-ec24fea757624f08bf4ff3674cd254407997bdcb.tar.bz2
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
-rw-r--r--src/libvorbis/xine_decoder.c11
1 files changed, 2 insertions, 9 deletions
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);