diff tscc.c @ 8720:052c676c433b libavcodec

Silence useless compiler warning when passing AVFrame* instead of AVPicture* to ff_msrle_decode()
author kostya
date Sun, 01 Feb 2009 14:44:51 +0000
parents e9d9d946f213
children 54bc8a2727b0
line wrap: on
line diff
--- a/tscc.c	Sun Feb 01 14:07:08 2009 +0000
+++ b/tscc.c	Sun Feb 01 14:44:51 2009 +0000
@@ -105,7 +105,7 @@
 
 
     if(zret != Z_DATA_ERROR)
-        ff_msrle_decode(avctx, &c->pic, c->bpp, c->decomp_buf, c->zstream.avail_out);
+        ff_msrle_decode(avctx, (AVPicture*)&c->pic, c->bpp, c->decomp_buf, c->zstream.avail_out);
 
     /* make the palette available on the way out */
     if (c->avctx->pix_fmt == PIX_FMT_PAL8) {