Add raw union to ISH
This commit is contained in:
parent
84b33095b0
commit
a69783a108
1 changed files with 7 additions and 0 deletions
|
|
@ -68,8 +68,15 @@ typedef struct EOCD
|
||||||
// Input stream header for DEFLATE
|
// Input stream header for DEFLATE
|
||||||
typedef struct ISH
|
typedef struct ISH
|
||||||
{
|
{
|
||||||
|
union
|
||||||
|
{
|
||||||
|
int raw;
|
||||||
|
struct
|
||||||
|
{
|
||||||
unsigned last_block : 1;
|
unsigned last_block : 1;
|
||||||
unsigned block_type : 2;
|
unsigned block_type : 2;
|
||||||
|
};
|
||||||
|
}
|
||||||
} ISH;
|
} ISH;
|
||||||
|
|
||||||
// Dynamic Huffman Code header for DEFLATE
|
// Dynamic Huffman Code header for DEFLATE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue