]> git.sesse.net Git - vlc/blobdiff - modules/codec/libmpeg2.c
Fix build of mpeg2 module with old libmpeg2 on arm
[vlc] / 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