sws: fix assert failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/2/head
Michael Niedermayer 13 years ago
parent 8b4b2ddf8d
commit 90640cc764
  1. 3
      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;

Loading…
Cancel
Save