[SCM] libav/experimental: 100l -- mismatched type after changing sizes to type long!

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:45:17 UTC 2013


The following commit has been merged in the experimental branch:
commit 73cbfb1c59ef195f6cadca2bced1db8b306845e5
Author: D Richard Felker III <dalias at aerifal.cx>
Date:   Mon Oct 17 05:05:51 2005 +0000

    100l -- mismatched type after changing sizes to type long!
    
    Originally committed as revision 16784 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

diff --git a/postproc/swscale.c b/postproc/swscale.c
index f5d85d6..75599ec 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))

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list