summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/vp8dsp_altivec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-09-09 18:28:20 +0200
committerDiego Biurrun <diego@biurrun.de>2016-09-11 19:19:41 +0200
commit6ce93757ee6b81fe727bfdc9f546fd0ddf9139c3 (patch)
tree43bda423a8caa08b79704e84c1286095e4b8f131 /libavcodec/ppc/vp8dsp_altivec.c
parentcaccb3a0cdc7ee32cbed7eab156d35025133eadc (diff)
ppc: Update #endif comments
Diffstat (limited to 'libavcodec/ppc/vp8dsp_altivec.c')
-rw-r--r--libavcodec/ppc/vp8dsp_altivec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/ppc/vp8dsp_altivec.c b/libavcodec/ppc/vp8dsp_altivec.c
index 869fe670e7..53fe44ab48 100644
--- a/libavcodec/ppc/vp8dsp_altivec.c
+++ b/libavcodec/ppc/vp8dsp_altivec.c
@@ -310,8 +310,7 @@ static void put_vp8_pixels16_altivec(uint8_t *dst, ptrdiff_t dstride, uint8_t *s
}
}
-#endif /* HAVE_ALTIVEC */
-
+#endif /* HAVE_ALTIVEC && HAVE_BIGENDIAN */
av_cold void ff_vp78dsp_init_ppc(VP8DSPContext *c)
{
@@ -343,5 +342,5 @@ av_cold void ff_vp78dsp_init_ppc(VP8DSPContext *c)
c->put_vp8_epel_pixels_tab[2][1][1] = put_vp8_epel4_h4v4_altivec;
c->put_vp8_epel_pixels_tab[2][1][2] = put_vp8_epel4_h6v4_altivec;
c->put_vp8_epel_pixels_tab[2][2][1] = put_vp8_epel4_h4v6_altivec;
-#endif /* HAVE_ALTIVEC */
+#endif /* HAVE_ALTIVEC && HAVE_BIGENDIAN */
}