mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-13 07:22:52 +01:00
enc/vp8l: add a missing cast
Change-Id: I2c1800516eb4573ae2599866ace10017b865f23a
This commit is contained in:
parent
46db286572
commit
617d93480e
@ -892,7 +892,7 @@ static WebPEncodingError EncodePalette(VP8LBitWriter* const bw,
|
|||||||
if (err != VP8_ENC_OK) goto Error;
|
if (err != VP8_ENC_OK) goto Error;
|
||||||
dst = enc->argb_;
|
dst = enc->argb_;
|
||||||
|
|
||||||
row = WebPSafeMalloc((uint64_t)width, sizeof(*row));
|
row = (uint8_t*)WebPSafeMalloc((uint64_t)width, sizeof(*row));
|
||||||
if (row == NULL) return VP8_ENC_ERROR_OUT_OF_MEMORY;
|
if (row == NULL) return VP8_ENC_ERROR_OUT_OF_MEMORY;
|
||||||
|
|
||||||
ApplyPalette(src, dst, pic->argb_stride, enc->current_width_,
|
ApplyPalette(src, dst, pic->argb_stride, enc->current_width_,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user