X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fppc%2Fvp8dsp_altivec.c;h=82e7c2b6f9d7185a03762c7f202c176d6a54831c;hb=98cccdd91c9aab9e031753f6feb81be0c44a9c8e;hp=23e4ace7da595f073bda6495b2837e4f03166ae6;hpb=5d38c628b0a84fafc220f070d9d4cf8fbfe96447;p=ffmpeg diff --git a/libavcodec/ppc/vp8dsp_altivec.c b/libavcodec/ppc/vp8dsp_altivec.c index 23e4ace7da5..82e7c2b6f9d 100644 --- a/libavcodec/ppc/vp8dsp_altivec.c +++ b/libavcodec/ppc/vp8dsp_altivec.c @@ -270,7 +270,7 @@ void put_vp8_epel ## WIDTH ## _v ## TAPS ## _altivec(uint8_t *dst, ptrdiff_t dst #define EPEL_HV(WIDTH, HTAPS, VTAPS) \ static void put_vp8_epel ## WIDTH ## _h ## HTAPS ## v ## VTAPS ## _altivec(uint8_t *dst, ptrdiff_t dstride, uint8_t *src, ptrdiff_t sstride, int h, int mx, int my) \ { \ - DECLARE_ALIGNED(16, uint8_t, tmp)[(2*WIDTH+5)*16]; \ + LOCAL_ALIGNED(16, uint8_t, tmp, [(2*WIDTH+5)*16]); \ if (VTAPS == 6) { \ put_vp8_epel ## WIDTH ## _h ## HTAPS ## _altivec(tmp, 16, src-2*sstride, sstride, h+5, mx, my); \ put_vp8_epel ## WIDTH ## _v ## VTAPS ## _altivec(dst, dstride, tmp+2*16, 16, h, mx, my); \