Revision 5d44b2a1

View differences:

libavcodec/aasc.c
83 83
        }
84 84
        break;
85 85
    case 1:
86
        ff_msrle_decode(avctx, &s->frame, 8, buf - 4, buf_size + 4);
86
        ff_msrle_decode(avctx, (AVPicture*)&s->frame, 8, buf - 4, buf_size + 4);
87 87
        break;
88 88
    default:
89 89
        av_log(avctx, AV_LOG_ERROR, "Unknown compression type %d\n", compr);
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:
libavcodec/msrle.c
84 84
        s->avctx->palctrl->palette_changed = 0;
85 85
    }
86 86

  
87
    ff_msrle_decode(avctx, &s->frame, avctx->bits_per_coded_sample, buf, buf_size);
87
    ff_msrle_decode(avctx, (AVPicture*)&s->frame, avctx->bits_per_coded_sample, buf, buf_size);
88 88

  
89 89
    *data_size = sizeof(AVFrame);
90 90
    *(AVFrame*)data = s->frame;
libavcodec/tscc.c
105 105

  
106 106

  
107 107
    if(zret != Z_DATA_ERROR)
108
        ff_msrle_decode(avctx, &c->pic, c->bpp, c->decomp_buf, c->zstream.avail_out);
108
        ff_msrle_decode(avctx, (AVPicture*)&c->pic, c->bpp, c->decomp_buf, c->zstream.avail_out);
109 109

  
110 110
    /* make the palette available on the way out */
111 111
    if (c->avctx->pix_fmt == PIX_FMT_PAL8) {

Also available in: Unified diff