Mercurial > mplayer.hg
diff libswscale/bfin/swscale_bfin.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 | cdb6693dd949 |
children | 1f7d0e9e2ebf |
line wrap: on
line diff
--- a/libswscale/bfin/swscale_bfin.c Mon May 10 23:39:16 2010 +0000 +++ b/libswscale/bfin/swscale_bfin.c Tue May 11 00:36:34 2010 +0000 @@ -38,12 +38,12 @@ #endif int ff_bfin_uyvytoyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, - long width, long height, - long lumStride, long chromStride, long srcStride) L1CODE; + int width, int height, + int lumStride, int chromStride, int srcStride) L1CODE; int ff_bfin_yuyvtoyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, - long width, long height, - long lumStride, long chromStride, long srcStride) L1CODE; + int width, int height, + int lumStride, int chromStride, int srcStride) L1CODE; static int uyvytoyv12_unscaled(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[])