Commit 54197c7a authored by Michael Niedermayer's avatar Michael Niedermayer

skip_bits: dont call UPDATE_CACHE

UPDATE_CACHE isnt needed and can cause segfaults
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f4ab723a
......@@ -292,7 +292,6 @@ static inline unsigned int show_bits(GetBitContext *s, int n)
static inline void skip_bits(GetBitContext *s, int n)
{
OPEN_READER(re, s);
UPDATE_CACHE(re, s);
LAST_SKIP_BITS(re, s, n);
CLOSE_READER(re, s);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment