projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a64a062
)
Correct the threshold of get_ur_golomb_jpegls() at which the optimized
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Sep 2008 20:30:22 +0000
(20:30 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Sep 2008 20:30:22 +0000
(20:30 +0000)
case is used.
Fix issue245.
Originally committed as revision 15334 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/golomb.h
patch
|
blob
|
history
diff --git
a/libavcodec/golomb.h
b/libavcodec/golomb.h
index
a1d904c
..
f2fb892
100644
(file)
--- a/
libavcodec/golomb.h
+++ b/
libavcodec/golomb.h
@@
-255,7
+255,7
@@
static inline int get_ur_golomb_jpegls(GetBitContext *gb, int k, int limit, int
log= av_log2(buf);
- if(log
> 31-11
){
+ if(log
- k >= 32-MIN_CACHE_BITS
){
buf >>= log - k;
buf += (30-log)<<k;
LAST_SKIP_BITS(re, gb, 32 + k - log);