| Index: third_party/libwebp/dsp/lossless_enc_sse41.c
|
| diff --git a/third_party/libwebp/dsp/lossless_enc_sse41.c b/third_party/libwebp/dsp/lossless_enc_sse41.c
|
| index 3e493198dbefc708a18d994bfcab4a6af9069b86..821057ccd4aaad073a12af7e0af080c4187da0e0 100644
|
| --- a/third_party/libwebp/dsp/lossless_enc_sse41.c
|
| +++ b/third_party/libwebp/dsp/lossless_enc_sse41.c
|
| @@ -32,7 +32,9 @@ static void SubtractGreenFromBlueAndRed(uint32_t* argb_data, int num_pixels) {
|
| _mm_storeu_si128((__m128i*)&argb_data[i], out);
|
| }
|
| // fallthrough and finish off with plain-C
|
| - VP8LSubtractGreenFromBlueAndRed_C(argb_data + i, num_pixels - i);
|
| + if (i != num_pixels) {
|
| + VP8LSubtractGreenFromBlueAndRed_C(argb_data + i, num_pixels - i);
|
| + }
|
| }
|
|
|
| //------------------------------------------------------------------------------
|
|
|