sws: fix assert failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-10-23 20:18:21 +02:00
parent 8b4b2ddf8d
commit 90640cc764

View File

@ -2678,7 +2678,8 @@ static int swScale(SwsContext *c, const uint8_t* src[],
|| yuv2planeX == yuv2planeX_9LE_c || yuv2planeX == yuv2planeX_9LE_c
|| yuv2planeX == yuv2planeX_16BE_c || yuv2planeX == yuv2planeX_16BE_c
|| yuv2planeX == yuv2planeX_16LE_c || yuv2planeX == yuv2planeX_16LE_c
|| yuv2planeX == yuv2planeX_8_c)); || yuv2planeX == yuv2planeX_8_c) || !ARCH_X86);
if(use_mmx_vfilter){ if(use_mmx_vfilter){
vLumFilter= c->lumMmxFilter; vLumFilter= c->lumMmxFilter;
vChrFilter= c->chrMmxFilter; vChrFilter= c->chrMmxFilter;