From: Sebastian Dröge Date: Sun, 23 Aug 2009 11:35:46 +0000 (+0200) Subject: a52dec: Only add the MM_ACCEL_DJBFFT flag if it's defined X-Git-Tag: RELEASE-0.10.13~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5f10797ffa7d63c9dc5b086ce4e788c528c922c;p=platform%2Fupstream%2Fgst-plugins-ugly.git a52dec: Only add the MM_ACCEL_DJBFFT flag if it's defined It's not defined for older liba52 versions. --- diff --git a/ext/a52dec/gsta52dec.c b/ext/a52dec/gsta52dec.c index 4c4127a..831548c 100644 --- a/ext/a52dec/gsta52dec.c +++ b/ext/a52dec/gsta52dec.c @@ -194,7 +194,11 @@ gst_a52dec_class_init (GstA52DecClass * klass) /* If no CPU instruction based acceleration is available, end up using the * generic software djbfft based one when available in the used liba52 */ +#ifdef MM_ACCEL_DJBFFT klass->a52_cpuflags = MM_ACCEL_DJBFFT; +#else + klass->a52_cpuflags = 0; +#endif cpuflags = oil_cpu_get_flags (); if (cpuflags & OIL_IMPL_FLAG_MMX) klass->a52_cpuflags |= MM_ACCEL_X86_MMX;