Revision 76aca7a8 libavcodec/golomb.h

View differences:

libavcodec/golomb.h
445 445
        if(k)
446 446
            put_bits(pb, k, i&((1<<k)-1));
447 447
    }else{
448
        while(limit > 31) {
449
            put_bits(pb, 31, 0);
450
            limit -= 31;
451
        }
448 452
        put_bits(pb, limit  , 1);
449 453
        put_bits(pb, esc_len, i - 1);
450 454
    }

Also available in: Unified diff