summaryrefslogtreecommitdiff
path: root/thirdparty/libwebp/src/dsp/lossless_enc.c
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-03 15:16:57 +0100
committerGitHub <noreply@github.com>2022-02-03 15:16:57 +0100
commit6acbd5f77449dacbbe4989c99e63fbf67e6e29ea (patch)
tree10b17e69bda4a3e9080578c595f8e3e691788d1c /thirdparty/libwebp/src/dsp/lossless_enc.c
parentc4f38813b4e9d14f59fc43f66f24307962eb4fc1 (diff)
parent339dcd80aed70d025b98f943e2a57767701a84f1 (diff)
Merge pull request #57102 from akien-mga/libwebp-1.2.2
Diffstat (limited to 'thirdparty/libwebp/src/dsp/lossless_enc.c')
-rw-r--r--thirdparty/libwebp/src/dsp/lossless_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/libwebp/src/dsp/lossless_enc.c b/thirdparty/libwebp/src/dsp/lossless_enc.c
index c3e8537ade..1580631e38 100644
--- a/thirdparty/libwebp/src/dsp/lossless_enc.c
+++ b/thirdparty/libwebp/src/dsp/lossless_enc.c
@@ -745,7 +745,7 @@ static void PredictorSub##PREDICTOR_I##_C(const uint32_t* in, \
assert(upper != NULL); \
for (x = 0; x < num_pixels; ++x) { \
const uint32_t pred = \
- VP8LPredictor##PREDICTOR_I##_C(in[x - 1], upper + x); \
+ VP8LPredictor##PREDICTOR_I##_C(&in[x - 1], upper + x); \
out[x] = VP8LSubPixels(in[x], pred); \
} \
}