]> git.sesse.net Git - vlc/commitdiff
libmpeg2: enable ARM optimizations
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 17 Sep 2009 16:12:24 +0000 (19:12 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 17 Sep 2009 16:12:41 +0000 (19:12 +0300)
(libmpeg2 does not autodetect on that architecture)

modules/codec/libmpeg2.c

index 479b49feeb12e23849aad99f4a9b29a6380754ad..632a9c37b0650d73431b889e6292810af720b455 100644 (file)
@@ -211,6 +211,9 @@ static int OpenDecoder( vlc_object_t *p_this )
         i_accel |= MPEG2_ACCEL_PPC_ALTIVEC;
     }
 
+#elif defined(__arm__)
+    i_accel | MPEG2_ACCEL_ARM;
+
 #else
     /* If we do not know this CPU, trust libmpeg2's feature detection */
     i_accel = MPEG2_ACCEL_DETECT;