From 97b93389af2595965ba265dcd3ddd1ebf722fee3 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sun, 7 Sep 2008 18:22:29 +0000 Subject: [PATCH] Make ToY and ToUV family of function consistent part I Convert width argument from int to long (note: srcW is still an int). Originally committed as revision 27544 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale_template.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index ee38bd5646..b855840668 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -1843,7 +1843,7 @@ static inline void RENAME(uyvyToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, assert(src1 == src2); } -static inline void RENAME(bgr32ToY)(uint8_t *dst, uint8_t *src, int width) +static inline void RENAME(bgr32ToY)(uint8_t *dst, uint8_t *src, long width) { int i; for (i=0; i