summaryrefslogtreecommitdiff
path: root/libswscale/swscale_template.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-05-04 21:57:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-05-04 23:33:59 +0200
commit3e173a14e99f350d03e1a420fa8f6d3a5e659c17 (patch)
treedf208552363bb0247badde856e3371083d7cc7a9 /libswscale/swscale_template.c
parent334187ade78405bb133be0d8551e453aad6eeedb (diff)
swscale: fix src type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/swscale_template.c')
-rw-r--r--libswscale/swscale_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c
index 864bafc85c..cfe8e4c2b2 100644
--- a/libswscale/swscale_template.c
+++ b/libswscale/swscale_template.c
@@ -951,7 +951,7 @@ static inline void RENAME(yuv2yuv1)(SwsContext *c, const int16_t *lumSrc, const
#if COMPILE_TEMPLATE_MMX
if(!(c->flags & SWS_BITEXACT)) {
long p= 4;
- const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW};
+ const int16_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW};
uint8_t *dst[4]= {aDest, dest, uDest, vDest};
x86_reg counter[4]= {dstW, dstW, chrDstW, chrDstW};