From 5d44b2a13874ef0718b522713a0b0199a7b8438c Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sun, 1 Feb 2009 14:44:51 +0000 Subject: Silence useless compiler warning when passing AVFrame* instead of AVPicture* to ff_msrle_decode() Originally committed as revision 16915 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/tscc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/tscc.c') diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index 1db244412f..0ffb1644ba 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -105,7 +105,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const 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) { -- cgit v1.2.3