aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/vc1dsp_altivec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-09-07 17:02:06 +0200
committerDiego Biurrun <diego@biurrun.de>2016-09-29 14:48:03 +0200
commit2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428 (patch)
treeda4a550527ba5dc67e81e3f384b048fc2250f583 /libavcodec/ppc/vc1dsp_altivec.c
parentb2939a75270bc7e971462648168aa3a2a48c1c8c (diff)
downloadffmpeg-2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428.tar.gz
idct: Change type of array stride parameters to ptrdiff_t
ptrdiff_t is the correct type for array strides and similar.
Diffstat (limited to 'libavcodec/ppc/vc1dsp_altivec.c')
-rw-r--r--libavcodec/ppc/vc1dsp_altivec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ppc/vc1dsp_altivec.c b/libavcodec/ppc/vc1dsp_altivec.c
index 0eec4751df..d252421560 100644
--- a/libavcodec/ppc/vc1dsp_altivec.c
+++ b/libavcodec/ppc/vc1dsp_altivec.c
@@ -229,7 +229,8 @@ static void vc1_inv_trans_8x8_altivec(int16_t block[64])
/** Do inverse transform on 8x4 part of block
*/
-static void vc1_inv_trans_8x4_altivec(uint8_t *dest, int stride, int16_t *block)
+static void vc1_inv_trans_8x4_altivec(uint8_t *dest, ptrdiff_t stride,
+ int16_t *block)
{
vector signed short src0, src1, src2, src3, src4, src5, src6, src7;
vector signed int s0, s1, s2, s3, s4, s5, s6, s7;