mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 05:38:22 +01:00
use unsigned int for bitfields
uint8_t is a gcc extension which msvc similarly supports, but for greater compatibility, and to match the change already made in dec/vp8i.h, update the remaining bitfield to use unsigned int. Change-Id: Id9dca470345871e00e82893255a306dfe5d3fa29
This commit is contained in:
parent
341cc56a8c
commit
ebeb412aa5
@ -204,10 +204,10 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
// block type
|
||||
uint8_t type_:2; // 0=i4x4, 1=i16x16
|
||||
uint8_t uv_mode_:2;
|
||||
uint8_t skip_:1;
|
||||
uint8_t segment_:2;
|
||||
unsigned int type_:2; // 0=i4x4, 1=i16x16
|
||||
unsigned int uv_mode_:2;
|
||||
unsigned int skip_:1;
|
||||
unsigned int segment_:2;
|
||||
uint8_t alpha_; // quantization-susceptibility
|
||||
} VP8MBInfo;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user