From: Andre Noll Date: Sun, 18 Oct 2009 18:36:25 +0000 (+0200) Subject: remove pointless cast X-Git-Tag: v0.4.1~64 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=ae9a1e8863223938de42debb38a20b2060e0c181;ds=sidebyside remove pointless cast --- diff --git a/bitstream.h b/bitstream.h index 4f94f692..d052337c 100644 --- a/bitstream.h +++ b/bitstream.h @@ -47,7 +47,7 @@ struct vlc { * Refill the internal cache from the bitstream. */ #define UPDATE_CACHE(name, gb)\ - name##_cache= AV_RB32( ((const uint8_t *)(gb)->buffer) \ + name##_cache= AV_RB32( ((gb)->buffer) \ + (name##_index >> 3) ) << (name##_index & 0x07);\ /**