diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-02-15 00:20:24 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-15 00:41:40 +0100 |
commit | e7dbfa59f218ece7ec65f7ea0ff2950573dd2267 (patch) | |
tree | bc679f362f77d2638fdd207ceb2ddec36d2784d4 | |
parent | 83e2e9315aba64dddf98e8cb769d3d3643323007 (diff) | |
download | ffmpeg-e7dbfa59f218ece7ec65f7ea0ff2950573dd2267.tar.gz |
swscale: enable some more SIMD functions.
They no longer just segfault.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libswscale/x86/swscale_mmx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/x86/swscale_mmx.c b/libswscale/x86/swscale_mmx.c index 1118515164..10a1542d34 100644 --- a/libswscale/x86/swscale_mmx.c +++ b/libswscale/x86/swscale_mmx.c @@ -364,9 +364,9 @@ void ff_sws_init_swScale_mmx(SwsContext *c) } #define ASSIGN_VSCALEX_FUNC(vscalefn, opt, do_16_case) \ 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; \ + 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: /*vscalefn = ff_yuv2planeX_8_ ## opt;*/ break; \ } #define ASSIGN_VSCALE_FUNC(vscalefn, opt1, opt2, opt2chk) \ |