diff options
author | ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-18 17:07:30 +0000 |
---|---|---|
committer | ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-18 17:07:30 +0000 |
commit | 72e3d88202beb08f6c5afefab0198aaa2714360b (patch) | |
tree | 3674dd1606be9d478bcb5cb2fe266bfe693e1294 /libswscale/yuv2rgb_template.c | |
parent | 115bfb976270169e34bdf2e8e4a82c473dc83dbb (diff) | |
download | mpv-72e3d88202beb08f6c5afefab0198aaa2714360b.tar.bz2 mpv-72e3d88202beb08f6c5afefab0198aaa2714360b.tar.xz |
Do not assume long is same width as x86 register.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28992 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/yuv2rgb_template.c')
-rw-r--r-- | libswscale/yuv2rgb_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/yuv2rgb_template.c b/libswscale/yuv2rgb_template.c index 35b7f14f60..dc0198f2a3 100644 --- a/libswscale/yuv2rgb_template.c +++ b/libswscale/yuv2rgb_template.c @@ -137,7 +137,7 @@ uint8_t *py = src[0] + y*srcStride[0]; \ uint8_t *pu = src[1] + (y>>1)*srcStride[1]; \ uint8_t *pv = src[2] + (y>>1)*srcStride[2]; \ - long index= -h_size/2; \ + x86_reg index= -h_size/2; \ #define YUV2RGB_INIT \ /* This MMX assembly code deals with a SINGLE scan line at a time, \ |