diff --git a/src/webp/decode.h b/src/webp/decode.h index ac89cdc4..002a9651 100644 --- a/src/webp/decode.h +++ b/src/webp/decode.h @@ -18,7 +18,7 @@ extern "C" { #endif -#define WEBP_DECODER_ABI_VERSION 0x0002 +#define WEBP_DECODER_ABI_VERSION 0x0003 // Return the decoder's version number, packed in hexadecimal using 8bits for // each of major/minor/revision. E.g: v2.5.7 is 0x020507. diff --git a/src/webp/decode_vp8.h b/src/webp/decode_vp8.h index eecc3865..6d391edc 100644 --- a/src/webp/decode_vp8.h +++ b/src/webp/decode_vp8.h @@ -12,6 +12,8 @@ #ifndef WEBP_WEBP_DECODE_VP8_H_ #define WEBP_WEBP_DECODE_VP8_H_ +#include // for size_t + #include "./decode.h" #if defined(__cplusplus) || defined(c_plusplus) @@ -82,7 +84,7 @@ struct VP8Io { int fancy_upsampling; // Input buffer. - uint32_t data_size; + size_t data_size; const uint8_t* data; // If true, in-loop filtering will not be performed even if present in the