Revision d4f2a625

View differences:

libavcodec/golomb.h
273 273

  
274 274
    log= av_log2(buf);
275 275

  
276
    if(log - k >= 32-MIN_CACHE_BITS && 32-log < limit){
276
    if(log - k >= 32-MIN_CACHE_BITS+(MIN_CACHE_BITS==32) && 32-log < limit){
277 277
        buf >>= log - k;
278 278
        buf += (30-log)<<k;
279 279
        LAST_SKIP_BITS(re, gb, 32 + k - log);

Also available in: Unified diff