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/aasc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/aasc.c') diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c index 001ed3ab66..1f66780154 100644 --- a/libavcodec/aasc.c +++ b/libavcodec/aasc.c @@ -83,7 +83,7 @@ static int aasc_decode_frame(AVCodecContext *avctx, } break; case 1: - ff_msrle_decode(avctx, &s->frame, 8, buf - 4, buf_size + 4); + ff_msrle_decode(avctx, (AVPicture*)&s->frame, 8, buf - 4, buf_size + 4); break; default: av_log(avctx, AV_LOG_ERROR, "Unknown compression type %d\n", compr); -- cgit v1.2.3