diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-08-23 23:23:45 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-08-26 11:36:26 +0200 |
commit | d9d26a3674f31f482f54e936fcb382160830877a (patch) | |
tree | 027c2a1b7b9258c64f255b37a1ca00889388caf6 /libavcodec/vp6dsp.c | |
parent | 6892df9294d93322d43255ada299507465bc93c8 (diff) | |
download | ffmpeg-streaming-d9d26a3674f31f482f54e936fcb382160830877a.zip ffmpeg-streaming-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp6dsp.c b/libavcodec/vp6dsp.c index 54a96ed..c9968f2 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; |