mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-25 13:18:22 +01:00
Fix declaration after statement warning
Change-Id: I038a3d547ada367c85d99cdae202562d644f19e0
This commit is contained in:
parent
5981ee55ce
commit
f09f96ee3f
@ -222,8 +222,8 @@ int VP8GetHeaders(VP8Decoder* const dec, VP8Io* const io) {
|
||||
|
||||
// Paragraph 9.1
|
||||
{
|
||||
frm_hdr = &dec->frm_hdr_;
|
||||
const uint32_t bits = buf[0] | (buf[1] << 8) | (buf[2] << 16);
|
||||
frm_hdr = &dec->frm_hdr_;
|
||||
frm_hdr->key_frame_ = !(bits & 1);
|
||||
frm_hdr->profile_ = (bits >> 1) & 7;
|
||||
frm_hdr->show_ = (bits >> 4) & 1;
|
||||
|
Loading…
Reference in New Issue
Block a user