diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-05-04 21:57:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-04 23:33:59 +0200 |
commit | 3e173a14e99f350d03e1a420fa8f6d3a5e659c17 (patch) | |
tree | df208552363bb0247badde856e3371083d7cc7a9 | |
parent | 334187ade78405bb133be0d8551e453aad6eeedb (diff) | |
download | ffmpeg-3e173a14e99f350d03e1a420fa8f6d3a5e659c17.tar.gz |
swscale: fix src type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libswscale/swscale_template.c | 2 |
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}; |