summaryrefslogtreecommitdiff
path: root/libavcodec/bmp.c
diff options
context:
space:
mode:
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: