From 7d5e4116a6f74a94af6eb533d75ca19d84e3c30d Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 13 Jun 2008 18:25:18 +0000 Subject: [PATCH] gst/real/gstrealaudiodec.c: Disable sipro on 64bits, it crashes. Original commit message from CVS: * gst/real/gstrealaudiodec.c: (gst_real_audio_dec_probe_modules): Disable sipro on 64bits, it crashes. --- ChangeLog | 5 +++++ gst/real/gstrealaudiodec.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index bcd4b93a66..5b9a1ee4df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-13 Wim Taymans + + * gst/real/gstrealaudiodec.c: (gst_real_audio_dec_probe_modules): + Disable sipro on 64bits, it crashes. + 2008-06-13 Wim Taymans * gst/real/gstrealaudiodec.c: (gst_real_audio_dec_chain), diff --git a/gst/real/gstrealaudiodec.c b/gst/real/gstrealaudiodec.c index bb07de9dc6..1a94a77b29 100644 --- a/gst/real/gstrealaudiodec.c +++ b/gst/real/gstrealaudiodec.c @@ -359,9 +359,14 @@ gst_real_audio_dec_probe_modules (GstRealAudioDec * dec) if ((dec->valid_ra28_8 = open_library (dec, GST_REAL_AUDIO_DEC_VERSION_28_8, &dummy))) close_library (dec, &dummy); +#ifdef HAVE_CPU_X86_64 + /* disabled because it does not seem to work on 64 bits */ + dec->valid_sipr = FALSE; +#else if ((dec->valid_sipr = open_library (dec, GST_REAL_AUDIO_DEC_VERSION_SIPR, &dummy))) close_library (dec, &dummy); +#endif if ((dec->valid_cook = open_library (dec, GST_REAL_AUDIO_DEC_VERSION_COOK, &dummy))) close_library (dec, &dummy);