summaryrefslogtreecommitdiffstats
path: root/gst/real/gstrealaudiodec.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-01-06 14:08:26 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-01-06 14:08:26 +0000
commite049792b5d8afd354e091d9a881f8bf25cb5413c (patch)
treebe6804c4f0786d52593ebeaee84024b3a82d6112 /gst/real/gstrealaudiodec.c
parent30d26643a6be2b18c2fc5edf6408eb0887699ae3 (diff)
downloadgst-plugins-bad-e049792b5d8afd354e091d9a881f8bf25cb5413c.tar.gz
gst-plugins-bad-e049792b5d8afd354e091d9a881f8bf25cb5413c.tar.bz2
gst-plugins-bad-e049792b5d8afd354e091d9a881f8bf25cb5413c.zip
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.
Diffstat (limited to 'gst/real/gstrealaudiodec.c')
-rw-r--r--gst/real/gstrealaudiodec.c6
1 files changed, 5 insertions, 1 deletions
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) {