From 73cbfb1c59ef195f6cadca2bced1db8b306845e5 Mon Sep 17 00:00:00 2001 From: D Richard Felker III Date: Mon, 17 Oct 2005 05:05:51 +0000 Subject: 100l -- mismatched type after changing sizes to type long! Originally committed as revision 16784 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc --- postproc/swscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postproc/swscale.c b/postproc/swscale.c index f5d85d6039..75599ec900 100644 --- a/postproc/swscale.c +++ b/postproc/swscale.c @@ -1475,7 +1475,7 @@ static int rgb2rgbWrapper(SwsContext *c, uint8_t* src[], int srcStride[], int sr const int dstBpp= ((dstFormat&0xFF) + 7)>>3; const int srcId= (srcFormat&0xFF)>>2; // 1:0, 4:1, 8:2, 15:3, 16:4, 24:6, 32:8 const int dstId= (dstFormat&0xFF)>>2; - void (*conv)(const uint8_t *src, uint8_t *dst, unsigned src_size)=NULL; + void (*conv)(const uint8_t *src, uint8_t *dst, long src_size)=NULL; /* BGR -> BGR */ if( (isBGR(srcFormat) && isBGR(dstFormat)) -- cgit v1.2.3