diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-05-10 23:22:17 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-05-31 12:07:11 +0200 |
commit | da60b99a8857d5ca236f32c1799a066e0135a866 (patch) | |
tree | b5af7af3af176f5d481970b9137fc6eefad4a5ab /libswscale/ppc | |
parent | f22ebd2555d15b59e109a5b630dd71374b076d0b (diff) | |
download | ffmpeg-da60b99a8857d5ca236f32c1799a066e0135a866.tar.gz |
ppc: Restrict some Altivec implementations to Big Endian
In Little Endian the vec_ld/vec_st operations work as
expected only for byte-vectors.
Diffstat (limited to 'libswscale/ppc')
-rw-r--r-- | libswscale/ppc/swscale_altivec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/ppc/swscale_altivec.c b/libswscale/ppc/swscale_altivec.c index 7e00488a61..004b385af2 100644 --- a/libswscale/ppc/swscale_altivec.c +++ b/libswscale/ppc/swscale_altivec.c @@ -289,7 +289,7 @@ static void hScale_altivec_real(SwsContext *c, int16_t *dst, int dstW, av_cold void ff_sws_init_swscale_ppc(SwsContext *c) { -#if HAVE_ALTIVEC +#if HAVE_ALTIVEC && HAVE_BIGENDIAN enum AVPixelFormat dstFormat = c->dstFormat; if (!(av_get_cpu_flags() & AV_CPU_FLAG_ALTIVEC)) |