[FFmpeg-cvslog] swscale: fix src type

Michael Niedermayer git at videolan.org
Wed May 4 23:36:20 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May  4 21:57:08 2011 +0200| [3e173a14e99f350d03e1a420fa8f6d3a5e659c17] | committer: Michael Niedermayer

swscale: fix src type
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3e173a14e99f350d03e1a420fa8f6d3a5e659c17
---

 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 864bafc..cfe8e4c 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};
 



More information about the ffmpeg-cvslog mailing list