summaryrefslogtreecommitdiff
path: root/libavcodec/vp6dsp.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-08-23 23:23:45 +0200
committerDiego Biurrun <diego@biurrun.de>2016-08-26 11:36:26 +0200
commitd9d26a3674f31f482f54e936fcb382160830877a (patch)
tree027c2a1b7b9258c64f255b37a1ca00889388caf6 /libavcodec/vp6dsp.c
parent6892df9294d93322d43255ada299507465bc93c8 (diff)
downloadffmpeg-d9d26a3674f31f482f54e936fcb382160830877a.tar.gz
vp56: Change type of stride parameters to ptrdiff_t
This avoids SIMD-optimized functions having to sign-extend their line size argument manually to be able to do pointer arithmetic.
Diffstat (limited to 'libavcodec/vp6dsp.c')
-rw-r--r--libavcodec/vp6dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp6dsp.c b/libavcodec/vp6dsp.c
index 54a96ed13a..c9968f28cf 100644
--- a/libavcodec/vp6dsp.c
+++ b/libavcodec/vp6dsp.c
@@ -27,7 +27,7 @@
#include "vp56dsp.h"
-void ff_vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, int stride,
+void ff_vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
const int16_t *h_weights, const int16_t *v_weights)
{
int x, y;