From: Christophe Mutricy Date: Mon, 28 Jun 2010 17:59:42 +0000 (+0100) Subject: Fix build of mpeg2 module with old libmpeg2 on arm X-Git-Tag: 1.2.0-pre1~6015 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=8940931e6375cce95b08079342c7bb8f25788e0a;p=vlc Fix build of mpeg2 module with old libmpeg2 on arm --- diff --git a/modules/codec/libmpeg2.c b/modules/codec/libmpeg2.c index 1189ee9dbc..62d359c742 100644 --- a/modules/codec/libmpeg2.c +++ b/modules/codec/libmpeg2.c @@ -213,7 +213,7 @@ static int OpenDecoder( vlc_object_t *p_this ) i_accel |= MPEG2_ACCEL_PPC_ALTIVEC; } -#elif defined(__arm__) +#elif defined(__arm__) && defined(MPEG2_ACCEL_ARM) i_accel |= MPEG2_ACCEL_ARM; # ifdef MPEG2_ACCEL_ARM_NEON