Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-30 16:02:53 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-09-30 16:34:12 +0400
commit54197c7aae74314897f22ce0e8d37a78f974fc32 (patch)
tree5f4f0c534c3f23c95c170854791cd82bbe45944e /libavcodec/get_bits.h
parentf4ab723a79fd4f93318385603ec2f3de37785e08 (diff)
skip_bits: dont call UPDATE_CACHE
UPDATE_CACHE isnt needed and can cause segfaults Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/get_bits.h')
-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);
}