aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-09-20 14:09:43 +0200
committerDiego Biurrun <diego@biurrun.de>2016-09-29 17:54:24 +0200
commit2caa93b813adc5dbb7771dfe615da826a2947d18 (patch)
tree5ef76a2c6ebf7ec7ccbda1e4d64fb3a9ad2bc04d /libavcodec/ppc
parent15b4f494fc6bddb8178fdb5aed18b420efc75e22 (diff)
downloadffmpeg-2caa93b813adc5dbb7771dfe615da826a2947d18.tar.gz
mpegaudiodsp: Change type of array stride parameters to ptrdiff_t
This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic.
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r--libavcodec/ppc/mpegaudiodsp_altivec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/mpegaudiodsp_altivec.c b/libavcodec/ppc/mpegaudiodsp_altivec.c
index b3d3ed4a3e..4c07131ae2 100644
--- a/libavcodec/ppc/mpegaudiodsp_altivec.c
+++ b/libavcodec/ppc/mpegaudiodsp_altivec.c
@@ -90,7 +90,7 @@ static void apply_window(const float *buf, const float *win1,
}
static void apply_window_mp3(float *in, float *win, int *unused, float *out,
- int incr)
+ ptrdiff_t incr)
{
LOCAL_ALIGNED_16(float, suma, [17]);
LOCAL_ALIGNED_16(float, sumb, [17]);