# HG changeset patch # User lu_zero # Date 1220811749 0 # Node ID c1019e4096ca5f81cbe29a325c7383e4e8a99055 # Parent c9e8d182aa4b1c2e784386c1f3adcb10ea05ea01 Make ToY and ToUV family of function consistent part I Convert width argument from int to long (note: srcW is still an int). diff -r c9e8d182aa4b -r c1019e4096ca libswscale/swscale_template.c --- a/libswscale/swscale_template.c Sun Sep 07 16:59:04 2008 +0000 +++ b/libswscale/swscale_template.c Sun Sep 07 18:22:29 2008 +0000 @@ -1843,7 +1843,7 @@ 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