Mercurial > mplayer.hg
comparison libswscale/colorspace-test.c @ 31096:0a999f052474
Use int instead of long to pass width parameters in non-public functions.
long was being incorrectly used as an x86-sized register, both for 32 and 64
bits, but this is not the case in win64.
author | ramiro |
---|---|
date | Tue, 11 May 2010 00:36:34 +0000 |
parents | 3e7ffd70b12b |
children | 1f7d0e9e2ebf |
comparison
equal
deleted
inserted
replaced
31095:7a2ec1d564ce | 31096:0a999f052474 |
---|---|
77 for(funcNum=0; ; funcNum++) { | 77 for(funcNum=0; ; funcNum++) { |
78 struct func_info_s { | 78 struct func_info_s { |
79 int src_bpp; | 79 int src_bpp; |
80 int dst_bpp; | 80 int dst_bpp; |
81 const char *name; | 81 const char *name; |
82 void (*func)(const uint8_t *src, uint8_t *dst, long src_size); | 82 void (*func)(const uint8_t *src, uint8_t *dst, int src_size); |
83 } func_info[] = { | 83 } func_info[] = { |
84 FUNC(2, 2, rgb15to16), | 84 FUNC(2, 2, rgb15to16), |
85 FUNC(2, 3, rgb15to24), | 85 FUNC(2, 3, rgb15to24), |
86 FUNC(2, 4, rgb15to32), | 86 FUNC(2, 4, rgb15to32), |
87 FUNC(2, 3, rgb16to24), | 87 FUNC(2, 3, rgb16to24), |