X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcodec%2Flibmpeg2.c;h=62d359c74263cee99122edbb35a4cd3820c49691;hb=5db11a0c75a92580295e97e53081e9a24fa1628a;hp=1189ee9dbcfd121e97cfdd30772abb77ad9e9faa;hpb=5bd2bacf60872c96d68ee497f8e8eadd057ae421;p=vlc 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