aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/vp3dsp_altivec.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-19 18:41:26 +0100
committerClément Bœsch <u@pkh.me>2017-03-19 18:41:26 +0100
commit6a42a54b9de41d5eb1b246409e280c85194ed6ff (patch)
tree3c37fe1750056993e50a87d3be53a52ca8987f31 /libavcodec/ppc/vp3dsp_altivec.c
parent33dc6fcc4c7796b34c6de5cdc000a0cfd94eb34a (diff)
parent6892df9294d93322d43255ada299507465bc93c8 (diff)
downloadffmpeg-6a42a54b9de41d5eb1b246409e280c85194ed6ff.tar.gz
Merge commit '6892df9294d93322d43255ada299507465bc93c8'
* commit '6892df9294d93322d43255ada299507465bc93c8': vp3: Change type of stride parameters to ptrdiff_t Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/ppc/vp3dsp_altivec.c')
-rw-r--r--libavcodec/ppc/vp3dsp_altivec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/vp3dsp_altivec.c b/libavcodec/ppc/vp3dsp_altivec.c
index 4a367b655e..d2231d090a 100644
--- a/libavcodec/ppc/vp3dsp_altivec.c
+++ b/libavcodec/ppc/vp3dsp_altivec.c
@@ -119,7 +119,7 @@ static inline vec_s16 M16(vec_s16 a, vec_s16 C)
#define ADD8(a) vec_add(a, eight)
#define SHIFT4(a) vec_sra(a, four)
-static void vp3_idct_put_altivec(uint8_t *dst, int stride, int16_t block[64])
+static void vp3_idct_put_altivec(uint8_t *dst, ptrdiff_t stride, int16_t block[64])
{
vec_u8 t;
IDCT_START
@@ -148,7 +148,7 @@ static void vp3_idct_put_altivec(uint8_t *dst, int stride, int16_t block[64])
memset(block, 0, sizeof(*block) * 64);
}
-static void vp3_idct_add_altivec(uint8_t *dst, int stride, int16_t block[64])
+static void vp3_idct_add_altivec(uint8_t *dst, ptrdiff_t stride, int16_t block[64])
{
LOAD_ZERO;
vec_u8 t, vdst;