Fix declaration after statement warning

Change-Id: I038a3d547ada367c85d99cdae202562d644f19e0
This commit is contained in:
Pascal Massimino 2010-10-19 17:16:49 -04:00 committed by John Koleszar
parent 5981ee55ce
commit f09f96ee3f

View File

@ -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;