summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/huffyuvdsp_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/huffyuvdsp_altivec.c
parentcaccb3a0cdc7ee32cbed7eab156d35025133eadc (diff)
ppc: Update #endif comments
Diffstat (limited to 'libavcodec/ppc/huffyuvdsp_altivec.c')
-rw-r--r--libavcodec/ppc/huffyuvdsp_altivec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/huffyuvdsp_altivec.c b/libavcodec/ppc/huffyuvdsp_altivec.c
index 4c16283f07..337328ae05 100644
--- a/libavcodec/ppc/huffyuvdsp_altivec.c
+++ b/libavcodec/ppc/huffyuvdsp_altivec.c
@@ -49,7 +49,7 @@ static void add_bytes_altivec(uint8_t *dst, uint8_t *src, int w)
for (; i < w; i++)
dst[i] = src[i];
}
-#endif /* HAVE_ALTIVEC */
+#endif /* HAVE_ALTIVEC && HAVE_BIGENDIAN */
av_cold void ff_huffyuvdsp_init_ppc(HuffYUVDSPContext *c)
{
@@ -58,5 +58,5 @@ av_cold void ff_huffyuvdsp_init_ppc(HuffYUVDSPContext *c)
return;
c->add_bytes = add_bytes_altivec;
-#endif /* HAVE_ALTIVEC */
+#endif /* HAVE_ALTIVEC && HAVE_BIGENDIAN */
}