mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
explicitly pad bitfields to 32-bits
suggested by fbarchard@chromium; may affect alignment in some cases Change-Id: I63552eb1a0f9e81754d30ce6e9b1cfe5748bdbc9
This commit is contained in:
parent
7ebdf110af
commit
9dbc9d1909
@ -154,12 +154,14 @@ typedef struct { // filter specs
|
||||
unsigned int f_level_:6; // filter strength: 0..63
|
||||
unsigned int f_ilevel_:6; // inner limit: 1..63
|
||||
unsigned int f_inner_:1; // do inner filtering?
|
||||
unsigned int pad_:19;
|
||||
} VP8FInfo;
|
||||
|
||||
typedef struct { // used for syntax-parsing
|
||||
unsigned int nz_:24; // non-zero AC/DC coeffs (24bit)
|
||||
unsigned int dc_nz_:1; // non-zero DC coeffs
|
||||
unsigned int skip_:1; // block type
|
||||
unsigned int pad_:6;
|
||||
} VP8MB;
|
||||
|
||||
// Dequantization matrices
|
||||
|
Loading…
Reference in New Issue
Block a user