diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h index 7c73f3bae6..5ebebe94ce 100644 --- a/libavcodec/golomb.h +++ b/libavcodec/golomb.h @@ -220,7 +220,7 @@ static inline int get_ur_golomb_jpegls(GetBitContext *gb, int k, int limit, int log= av_log2(buf); - if(log > 31-12){ + if(log > 31-11){ buf >>= log - k; buf += (30-log)<>k) + 1; if(e