projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove pointless cast
[paraslash.git]
/
bitstream.h
diff --git
a/bitstream.h
b/bitstream.h
index
4f94f69
..
d052337
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);\
/**