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:
0bc4c43
)
Fix regression test failure caused by golomb limit not being considered
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Sep 2008 01:24:12 +0000
(
01:24
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Sep 2008 01:24:12 +0000
(
01:24
+0000)
in r15334.
Originally committed as revision 15338 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/golomb.h
patch
|
blob
|
history
diff --git
a/libavcodec/golomb.h
b/libavcodec/golomb.h
index
f2fb892
..
627fcdc
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 - k >= 32-MIN_CACHE_BITS){
+ if(log - k >= 32-MIN_CACHE_BITS
&& 32-log < limit
){
buf >>= log - k;
buf += (30-log)<<k;
LAST_SKIP_BITS(re, gb, 32 + k - log);