]> git.sesse.net Git - vlc/commitdiff
Fix build of mpeg2 module with old libmpeg2 on arm
authorChristophe Mutricy <xtophe@videolan.org>
Mon, 28 Jun 2010 17:59:42 +0000 (18:59 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Mon, 28 Jun 2010 21:52:30 +0000 (22:52 +0100)
modules/codec/libmpeg2.c

index 1189ee9dbcfd121e97cfdd30772abb77ad9e9faa..62d359c74263cee99122edbb35a4cd3820c49691 100644 (file)
@@ -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