]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/tscc.c
msrle: Use AVFrame instead of AVPicture
[ffmpeg] / libavcodec / tscc.c
index 98b5f7161b80e5462a9fe7777910e58a27641e6c..c96a577a81f43e7c5a7edd283cb64601c80d4835 100644 (file)
@@ -95,7 +95,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
     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 */