summaryrefslogtreecommitdiff
path: root/libavcodec/ppc/h264dsp.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/h264dsp.c
parentcaccb3a0cdc7ee32cbed7eab156d35025133eadc (diff)
ppc: Update #endif comments
Diffstat (limited to 'libavcodec/ppc/h264dsp.c')
-rw-r--r--libavcodec/ppc/h264dsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/h264dsp.c b/libavcodec/ppc/h264dsp.c
index 0538dbceed..a1fd5253b1 100644
--- a/libavcodec/ppc/h264dsp.c
+++ b/libavcodec/ppc/h264dsp.c
@@ -746,7 +746,7 @@ static void biweight_h264_pixels ## W ## _altivec(uint8_t *dst, uint8_t *src, in
H264_WEIGHT(16)
H264_WEIGHT( 8)
-#endif /* HAVE_ALTIVEC */
+#endif /* HAVE_ALTIVEC && HAVE_BIGENDIAN */
av_cold void ff_h264dsp_init_ppc(H264DSPContext *c, const int bit_depth,
const int chroma_format_idc)
@@ -773,5 +773,5 @@ av_cold void ff_h264dsp_init_ppc(H264DSPContext *c, const int bit_depth,
c->biweight_h264_pixels_tab[0] = biweight_h264_pixels16_altivec;
c->biweight_h264_pixels_tab[1] = biweight_h264_pixels8_altivec;
}
-#endif /* HAVE_ALTIVEC */
+#endif /* HAVE_ALTIVEC && HAVE_BIGENDIAN */
}