[FFmpeg-cvslog] r15334 - trunk/libavcodec/golomb.h
michael
subversion
Mon Sep 15 22:30:22 CEST 2008
Author: michael
Date: Mon Sep 15 22:30:22 2008
New Revision: 15334
Log:
Fix issue245.
Modified:
trunk/libavcodec/golomb.h
Modified: trunk/libavcodec/golomb.h
==============================================================================
--- trunk/libavcodec/golomb.h (original)
+++ trunk/libavcodec/golomb.h Mon Sep 15 22:30:22 2008
@@ -255,7 +255,7 @@ static inline int get_ur_golomb_jpegls(G
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);
More information about the ffmpeg-cvslog
mailing list