summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorKieran Kunhya <kieran@kunhya.com>2014-11-09 20:39:35 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-09 23:52:17 +0100
commitb546023b9319cbaefb638a2eeac56bdbf53d6f8b (patch)
treef3e4b32eda5f6bc33df2063f5ccbeda6336f5821 /libswscale
parente971eef8c0d2ebe461bb17f19a590b53511cc8f2 (diff)
downloadffmpeg-streaming-b546023b9319cbaefb638a2eeac56bdbf53d6f8b.zip
ffmpeg-streaming-b546023b9319cbaefb638a2eeac56bdbf53d6f8b.tar.gz
swscale: fix yuv2yuvX_8 assembly on x86
use_mmx_vfilter check/fix by commiter Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/x86/swscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c
index 8ce87b3..fe5c4ea 100644
--- a/libswscale/x86/swscale.c
+++ b/libswscale/x86/swscale.c
@@ -430,7 +430,7 @@ switch(c->dstBpc){ \
case 16: do_16_case; break; \
case 10: if (!isBE(c->dstFormat)) vscalefn = ff_yuv2planeX_10_ ## opt; break; \
case 9: if (!isBE(c->dstFormat)) vscalefn = ff_yuv2planeX_9_ ## opt; break; \
- default: if (condition_8bit) /*vscalefn = ff_yuv2planeX_8_ ## opt;*/ break; \
+ case 8: if ((condition_8bit) && !c->use_mmx_vfilter) vscalefn = ff_yuv2planeX_8_ ## opt; break; \
}
#define ASSIGN_VSCALE_FUNC(vscalefn, opt1, opt2, opt2chk) \
switch(c->dstBpc){ \
OpenPOWER on IntegriCloud