[vlc-commits] commit: Fix build of mpeg2 module with old libmpeg2 on arm ( Christophe Mutricy )
git at videolan.org
git at videolan.org
Mon Jun 28 23:54:10 CEST 2010
vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Mon Jun 28 18:59:42 2010 +0100| [8940931e6375cce95b08079342c7bb8f25788e0a] | committer: Christophe Mutricy
Fix build of mpeg2 module with old libmpeg2 on arm
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8940931e6375cce95b08079342c7bb8f25788e0a
---
modules/codec/libmpeg2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/codec/libmpeg2.c b/modules/codec/libmpeg2.c
index 1189ee9..62d359c 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
More information about the vlc-commits
mailing list