projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69adefa
)
remove pointless cast
author
Andre Noll
<maan@systemlinux.org>
Sun, 18 Oct 2009 18:36:25 +0000
(20:36 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Wed, 18 Nov 2009 18:34:22 +0000
(19:34 +0100)
bitstream.h
patch
|
blob
|
history
diff --git
a/bitstream.h
b/bitstream.h
index 4f94f692b37c97b0f83baac551efc3f7305619c1..d052337c1a1825d29bc700c8a918177220dc4f74 100644
(file)
--- 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);\
/**