From 8983b83ee1e24bf41e8fed34aedcd481fd346135 Mon Sep 17 00:00:00 2001 From: skal Date: Wed, 15 May 2013 09:21:30 +0200 Subject: [PATCH] remove use of bit-fields in VP8FInfo (in favor of just plain uint8_t's) Change-Id: I6187587a4d8a9f5c304a132d98ec42ce24fd244a --- src/dec/vp8i.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dec/vp8i.h b/src/dec/vp8i.h index a6beaabc..f26943f2 100644 --- a/src/dec/vp8i.h +++ b/src/dec/vp8i.h @@ -151,10 +151,10 @@ typedef struct { // Informations about the macroblocks. typedef struct { // filter specs - unsigned int f_level_:6; // filter strength: 0..63 - unsigned int f_ilevel_:6; // inner limit: 1..63 - unsigned int f_inner_:1; // do inner filtering? - unsigned int pad_:19; + uint8_t f_level_; // filter strength: 0..63 + uint8_t f_ilevel_; // inner limit: 1..63 + uint8_t f_inner_; // do inner filtering? + uint8_t pad_; // mostly needed for struct aligning on ARM } VP8FInfo; typedef struct { // used for syntax-parsing