OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4ab723
)
skip_bits: dont call UPDATE_CACHE
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 30 Sep 2013 12:02:53 +0000
(14:02 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 30 Sep 2013 12:34:12 +0000
(14:34 +0200)
UPDATE_CACHE isnt needed and can cause segfaults
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/get_bits.h
patch
|
blob
|
history
diff --git
a/libavcodec/get_bits.h
b/libavcodec/get_bits.h
index
5da90b6
..
4ddb088
100644
(file)
--- 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);
}