diff bmp.c @ 8720:052c676c433b libavcodec

Silence useless compiler warning when passing AVFrame* instead of AVPicture* to ff_msrle_decode()
author kostya
date Sun, 01 Feb 2009 14:44:51 +0000
parents 507854688c43
children 3ce78c919959
line wrap: on
line diff
--- a/bmp.c	Sun Feb 01 14:07:08 2009 +0000
+++ b/bmp.c	Sun Feb 01 14:44:51 2009 +0000
@@ -240,7 +240,7 @@
         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: