Revision 3ffabd4e

View differences:

libavcodec/rv34.c
223 223
    int ones;
224 224
    static const int cbp_masks[3] = {0x100000, 0x010000, 0x110000};
225 225
    static const int shifts[4] = { 0, 2, 8, 10 };
226
    int *curshift = shifts;
226
    const int *curshift = shifts;
227 227
    int i, t, mask;
228 228

  
229 229
    code = get_vlc2(gb, vlc->cbppattern[table].table, 9, 2);
......
883 883
    }
884 884
    if(!right && up){
885 885
        topleft = dst[-stride + 3] * 0x01010101;
886
        prev = &topleft;
886
        prev = (uint8_t*)&topleft;
887 887
    }
888 888
    r->h.pred4x4[itype](dst, prev, stride);
889 889
}

Also available in: Unified diff