summaryrefslogtreecommitdiff
path: root/libavcodec/bmp.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-02-01 14:44:51 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-02-01 14:44:51 +0000
commit5d44b2a13874ef0718b522713a0b0199a7b8438c (patch)
tree5dd2e8d2e864c9b8bea2db30b717f9826e3755d5 /libavcodec/bmp.c
parentbc4cccd4832b80838323ac72881fb2a2b88e3b67 (diff)
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/bmp.c')
-rw-r--r--libavcodec/bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bmp.c b/libavcodec/bmp.c
index 9a20cd6c97..3d06f1965d 100644
--- a/libavcodec/bmp.c
+++ b/libavcodec/bmp.c
@@ -240,7 +240,7 @@ static int bmp_decode_frame(AVCodecContext *avctx,
buf = buf0 + hsize;
}
if(comp == BMP_RLE4 || comp == BMP_RLE8){
- ff_msrle_decode(avctx, p, depth, buf, dsize);
+ ff_msrle_decode(avctx, (AVPicture*)p, depth, buf, dsize);
}else{
switch(depth){
case 1: