From e049792b5d8afd354e091d9a881f8bf25cb5413c Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sat, 6 Jan 2007 14:08:26 +0000 Subject: gst/real/gstrealaudiodec.c: Don't call the RAFreeDecoder since it randomly causes segfaults. Original commit message from CVS: * gst/real/gstrealaudiodec.c: (gst_real_audio_dec_finalize): Don't call the RAFreeDecoder since it randomly causes segfaults. * gst/real/gstrealaudiodec.h: indent properly. --- gst/real/gstrealaudiodec.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gst/real/gstrealaudiodec.c') diff --git a/gst/real/gstrealaudiodec.c b/gst/real/gstrealaudiodec.c index a7f37bae..d073c7be 100644 --- a/gst/real/gstrealaudiodec.c +++ b/gst/real/gstrealaudiodec.c @@ -362,7 +362,11 @@ gst_real_audio_dec_finalize (GObject * object) if (dec->context) { dec->funcs.RACloseCodec (dec->context); - dec->funcs.RAFreeDecoder (dec->context); + /* Calling RAFreeDecoder seems to randomly cause SEGFAULTs. + * All other implementation (xine, mplayer) have also got this function call + * commented. So until we know more, we comment it too. */ + + /* dec->funcs.RAFreeDecoder (dec->context); */ dec->context = NULL; } if (dec->handle) { -- cgit v1.2.1