summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/hpeldsp_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/hpeldsp_altivec.c
parentcaccb3a0cdc7ee32cbed7eab156d35025133eadc (diff)
ppc: Update #endif comments
Diffstat (limited to 'libavcodec/ppc/hpeldsp_altivec.c')
-rw-r--r--libavcodec/ppc/hpeldsp_altivec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/hpeldsp_altivec.c b/libavcodec/ppc/hpeldsp_altivec.c
index 780240ba20..82b5ce7fc7 100644
--- a/libavcodec/ppc/hpeldsp_altivec.c
+++ b/libavcodec/ppc/hpeldsp_altivec.c
@@ -445,7 +445,7 @@ static void avg_pixels8_xy2_altivec(uint8_t *block, const uint8_t *pixels, ptrdi
pixels += line_size;
}
}
-#endif /* HAVE_ALTIVEC */
+#endif /* HAVE_ALTIVEC && HAVE_BIGENDIAN */
av_cold void ff_hpeldsp_init_ppc(HpelDSPContext *c, int flags)
{
@@ -464,5 +464,5 @@ av_cold void ff_hpeldsp_init_ppc(HpelDSPContext *c, int flags)
c->put_no_rnd_pixels_tab[0][0] = ff_put_pixels16_altivec;
c->put_no_rnd_pixels_tab[1][3] = put_no_rnd_pixels8_xy2_altivec;
c->put_no_rnd_pixels_tab[0][3] = put_no_rnd_pixels16_xy2_altivec;
-#endif /* HAVE_ALTIVEC */
+#endif /* HAVE_ALTIVEC && HAVE_BIGENDIAN */
}