From 90640cc7649311f3c609998946f4c6c2dc4a4111 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 23 Oct 2011 20:18:21 +0200 Subject: [PATCH] sws: fix assert failure Signed-off-by: Michael Niedermayer --- libswscale/swscale.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 502cb438da..f0bde4795b 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;