Revision 3adcfbbe

View differences:

libavformat/raw.c
497 497
    init_get_bits(&gb, p->buf, p->buf_size*8);
498 498

  
499 499
    for(i=0; i<p->buf_size*8; i++){
500
        if ((code & 0x01ff0000) || !(code & 0xff00)) {
501
            code = (code<<8) + get_bits(&gb, 8);
502
            i += 7;
503
        } else
500 504
        code = (code<<1) + get_bits1(&gb);
501 505
        if ((code & 0xffff0000) == 0x10000) {
502 506
            int gn= (code>>12)&0xf;

Also available in: Unified diff