Commit 90640cc7 authored by Michael Niedermayer's avatar Michael Niedermayer

sws: fix assert failure

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8b4b2ddf
...@@ -2678,7 +2678,8 @@ static int swScale(SwsContext *c, const uint8_t* src[], ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment