mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
skip_bits: dont call UPDATE_CACHE
UPDATE_CACHE isnt needed and can cause segfaults Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f4ab723a79
commit
54197c7aae
@ -292,7 +292,6 @@ static inline unsigned int show_bits(GetBitContext *s, int n)
|
|||||||
static inline void skip_bits(GetBitContext *s, int n)
|
static inline void skip_bits(GetBitContext *s, int n)
|
||||||
{
|
{
|
||||||
OPEN_READER(re, s);
|
OPEN_READER(re, s);
|
||||||
UPDATE_CACHE(re, s);
|
|
||||||
LAST_SKIP_BITS(re, s, n);
|
LAST_SKIP_BITS(re, s, n);
|
||||||
CLOSE_READER(re, s);
|
CLOSE_READER(re, s);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user