[FFmpeg-cvslog] sws: fix assert failure

Michael Niedermayer git at videolan.org
Sun Oct 23 20:30:11 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Oct 23 20:18:21 2011 +0200| [90640cc7649311f3c609998946f4c6c2dc4a4111] | committer: Michael Niedermayer

sws: fix assert failure

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libswscale/swscale.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 502cb43..f0bde47 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2678,7 +2678,8 @@ static int swScale(SwsContext *c, const uint8_t* src[],
                             || yuv2planeX == yuv2planeX_9LE_c
                             || yuv2planeX == yuv2planeX_16BE_c
                             || yuv2planeX == yuv2planeX_16LE_c
-                            || yuv2planeX == yuv2planeX_8_c));
+                            || yuv2planeX == yuv2planeX_8_c) || !ARCH_X86);
+
                 if(use_mmx_vfilter){
                     vLumFilter= c->lumMmxFilter;
                     vChrFilter= c->chrMmxFilter;



More information about the ffmpeg-cvslog mailing list