diff options
Diffstat (limited to 'libavcodec/ppc/fdctdsp.c')
-rw-r--r-- | libavcodec/ppc/fdctdsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/fdctdsp.c b/libavcodec/ppc/fdctdsp.c index 89ceb4736f..cadca80469 100644 --- a/libavcodec/ppc/fdctdsp.c +++ b/libavcodec/ppc/fdctdsp.c @@ -460,7 +460,7 @@ void ff_fdct_altivec(int16_t *block) /* }}} */ } -#endif /* HAVE_ALTIVEC */ +#endif /* HAVE_ALTIVEC && HAVE_BIGENDIAN */ av_cold void ff_fdctdsp_init_ppc(FDCTDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth) @@ -475,5 +475,5 @@ av_cold void ff_fdctdsp_init_ppc(FDCTDSPContext *c, AVCodecContext *avctx, c->fdct = ff_fdct_altivec; } } -#endif /* HAVE_ALTIVEC */ +#endif /* HAVE_ALTIVEC && HAVE_BIGENDIAN */ } |