diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-03-18 17:07:30 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-03-18 17:07:30 +0000 |
commit | d0ce212a7ae2e98e5d9c04a5d38896c1993f50f1 (patch) | |
tree | f2485882758407250fe75028c2a63b35bae69619 /libswscale/yuv2rgb_template.c | |
parent | 2b823a529905a0ecb183547b4e41e00110975a59 (diff) | |
download | ffmpeg-d0ce212a7ae2e98e5d9c04a5d38896c1993f50f1.tar.gz |
Do not assume long is same width as x86 register.
Originally committed as revision 28992 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
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, \ |