From f09f96ee3fa24696fd7eb00bd9455c98ed3ca7c6 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Tue, 19 Oct 2010 17:16:49 -0400 Subject: [PATCH] Fix declaration after statement warning Change-Id: I038a3d547ada367c85d99cdae202562d644f19e0 --- src/vp8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vp8.c b/src/vp8.c index 984e07dd..234f361d 100644 --- a/src/vp8.c +++ b/src/vp8.c @@ -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;