Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-09-06 17:06:12 +0300
committerDiego Biurrun <diego@biurrun.de>2016-09-14 15:12:36 +0300
commitde452e503734ebb0fdbce86e9d16693b3530fad3 (patch)
tree4a8055e1c5158b8d51c4f17b99c4befe9d45a19d /libavcodec/pixblockdsp.c
parentab3554e1a7c04a5ea30f9c905de92348478ef7c8 (diff)
pixblockdsp: 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. Also adjust parameter names to be "stride" everywhere.
Diffstat (limited to 'libavcodec/pixblockdsp.c')
-rw-r--r--libavcodec/pixblockdsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pixblockdsp.c b/libavcodec/pixblockdsp.c
index 71423f9cfc..9d68d26245 100644
--- a/libavcodec/pixblockdsp.c
+++ b/libavcodec/pixblockdsp.c
@@ -31,7 +31,7 @@
#include "pixblockdsp_template.c"
static void diff_pixels_c(int16_t *restrict block, const uint8_t *s1,
- const uint8_t *s2, int stride)
+ const uint8_t *s2, ptrdiff_t stride)
{
int i;