aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/colorspace-test.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2010-05-11 00:36:34 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2010-05-11 00:36:34 +0000
commitd9d14dc6074200a4d2e6b8bf02376d785178ae82 (patch)
treee13355d3481bbb70201f5b50f96c788ea780816d /libswscale/colorspace-test.c
parent22cb6fb60fbca612339e0a40f6503a7b8eb9ebfd (diff)
downloadffmpeg-d9d14dc6074200a4d2e6b8bf02376d785178ae82.tar.gz
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. Originally committed as revision 31153 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/colorspace-test.c')
-rw-r--r--libswscale/colorspace-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/colorspace-test.c b/libswscale/colorspace-test.c
index 5a48065d1f..242973d0f2 100644
--- a/libswscale/colorspace-test.c
+++ b/libswscale/colorspace-test.c
@@ -79,7 +79,7 @@ int main(int argc, char **argv)
int src_bpp;
int dst_bpp;
const char *name;
- void (*func)(const uint8_t *src, uint8_t *dst, long src_size);
+ void (*func)(const uint8_t *src, uint8_t *dst, int src_size);
} func_info[] = {
FUNC(2, 2, rgb15to16),
FUNC(2, 3, rgb15to24),