Revision 5d44b2a1 libavcodec/bmp.c

View differences:

libavcodec/bmp.c
240 240
        buf = buf0 + hsize;
241 241
    }
242 242
    if(comp == BMP_RLE4 || comp == BMP_RLE8){
243
        ff_msrle_decode(avctx, p, depth, buf, dsize);
243
        ff_msrle_decode(avctx, (AVPicture*)p, depth, buf, dsize);
244 244
    }else{
245 245
        switch(depth){
246 246
        case 1:

Also available in: Unified diff