if (ret != Z_DATA_ERROR) {
bytestream2_init(&c->gb, c->decomp_buf,
c->decomp_size - c->zstream.avail_out);
- ff_msrle_decode(avctx, (AVPicture*)frame, c->bpp, &c->gb);
+ ff_msrle_decode(avctx, frame, c->bpp, &c->gb);
}
/* make the palette available on the way out */