From ae9a1e8863223938de42debb38a20b2060e0c181 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 18 Oct 2009 20:36:25 +0200 Subject: [PATCH] remove pointless cast --- bitstream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);\ /** -- 2.39.5