diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-02-01 14:44:51 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-02-01 14:44:51 +0000 |
commit | 5d44b2a13874ef0718b522713a0b0199a7b8438c (patch) | |
tree | 5dd2e8d2e864c9b8bea2db30b717f9826e3755d5 /libavcodec/msrle.c | |
parent | bc4cccd4832b80838323ac72881fb2a2b88e3b67 (diff) | |
download | ffmpeg-5d44b2a13874ef0718b522713a0b0199a7b8438c.tar.gz |
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
Diffstat (limited to 'libavcodec/msrle.c')
-rw-r--r-- | libavcodec/msrle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c index 002c35e7b3..2b477d9427 100644 --- a/libavcodec/msrle.c +++ b/libavcodec/msrle.c @@ -84,7 +84,7 @@ static int msrle_decode_frame(AVCodecContext *avctx, s->avctx->palctrl->palette_changed = 0; } - ff_msrle_decode(avctx, &s->frame, avctx->bits_per_coded_sample, buf, buf_size); + ff_msrle_decode(avctx, (AVPicture*)&s->frame, avctx->bits_per_coded_sample, buf, buf_size); *data_size = sizeof(AVFrame); *(AVFrame*)data = s->frame; |