aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/yuv2rgb_template.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-03-18 17:07:30 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-03-18 17:07:30 +0000
commitd0ce212a7ae2e98e5d9c04a5d38896c1993f50f1 (patch)
treef2485882758407250fe75028c2a63b35bae69619 /libswscale/yuv2rgb_template.c
parent2b823a529905a0ecb183547b4e41e00110975a59 (diff)
downloadffmpeg-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.c2
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, \