| Index: third_party/libwebp/enc/histogram.c
|
| diff --git a/third_party/libwebp/enc/histogram.c b/third_party/libwebp/enc/histogram.c
|
| index 787ea5d18330885bc98dc4c96677a3dbef2beea2..abd253bd7c65812d0e76646ad3d1b4866486bfe0 100644
|
| --- a/third_party/libwebp/enc/histogram.c
|
| +++ b/third_party/libwebp/enc/histogram.c
|
| @@ -90,12 +90,10 @@ void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const histo,
|
| int literal_ix = 256 + NUM_LENGTH_CODES + PixOrCopyCacheIdx(v);
|
| ++histo->literal_[literal_ix];
|
| } else {
|
| - int code, extra_bits_count, extra_bits_value;
|
| - PrefixEncode(PixOrCopyLength(v),
|
| - &code, &extra_bits_count, &extra_bits_value);
|
| + int code, extra_bits;
|
| + VP8LPrefixEncodeBits(PixOrCopyLength(v), &code, &extra_bits);
|
| ++histo->literal_[256 + code];
|
| - PrefixEncode(PixOrCopyDistance(v),
|
| - &code, &extra_bits_count, &extra_bits_value);
|
| + VP8LPrefixEncodeBits(PixOrCopyDistance(v), &code, &extra_bits);
|
| ++histo->distance_[code];
|
| }
|
| }
|
|
|