mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 09:23:50 +01:00
Write dict_id in zlib header in big-endian style.
Signed-off-by: Mo Zhai <zhaimo14@mails.ucas.ac.cn>
This commit is contained in:
parent
ad8dce15c6
commit
2320709c8c
@ -1146,7 +1146,7 @@ uint32_t isal_write_zlib_header(struct isal_zstream *stream, struct isal_zlib_he
|
||||
out_buf[1] = flg;
|
||||
|
||||
if (dict_flag)
|
||||
store_le_u32(out_buf + 2, z_hdr->dict_id);
|
||||
store_be_u32(out_buf + 2, z_hdr->dict_id);
|
||||
|
||||
stream->next_out += hdr_size;
|
||||
stream->total_out += hdr_size;
|
||||
|
Loading…
Reference in New Issue
Block a user