aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-30 14:02:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-30 14:34:12 +0200
commit54197c7aae74314897f22ce0e8d37a78f974fc32 (patch)
tree5f4f0c534c3f23c95c170854791cd82bbe45944e
parentf4ab723a79fd4f93318385603ec2f3de37785e08 (diff)
downloadffmpeg-54197c7aae74314897f22ce0e8d37a78f974fc32.tar.gz
skip_bits: dont call UPDATE_CACHE
UPDATE_CACHE isnt needed and can cause segfaults Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/get_bits.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h
index 5da90b6b42..4ddb08817b 100644
--- a/libavcodec/get_bits.h
+++ b/libavcodec/get_bits.h
@@ -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);
}