aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/x86/yuv2rgb_mmx.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-14 21:42:56 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-14 21:42:56 +0100
commit5a840f636491fa52a003fb8f674f6db39d5edd66 (patch)
tree6dd8733599ab47e2ef4e3eeedb50b70c08ec92fc /libswscale/x86/yuv2rgb_mmx.c
parent52889b543dddf7e7b9a34cdfebfbccbccaf73160 (diff)
downloadffmpeg-5a840f636491fa52a003fb8f674f6db39d5edd66.tar.gz
x86/yuv2rgb_mmx: Remove yuv420 check.
This check is not correct, the code supports more yuv variants. Fixes Ticket904 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/x86/yuv2rgb_mmx.c')
-rw-r--r--libswscale/x86/yuv2rgb_mmx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libswscale/x86/yuv2rgb_mmx.c b/libswscale/x86/yuv2rgb_mmx.c
index df0e1a3726..fd184eb71d 100644
--- a/libswscale/x86/yuv2rgb_mmx.c
+++ b/libswscale/x86/yuv2rgb_mmx.c
@@ -68,10 +68,6 @@ SwsFunc ff_yuv2rgb_init_mmx(SwsContext *c)
{
int cpu_flags = av_get_cpu_flags();
- if (c->srcFormat != PIX_FMT_YUV420P &&
- c->srcFormat != PIX_FMT_YUVA420P)
- return NULL;
-
#if HAVE_MMX2
if (cpu_flags & AV_CPU_FLAG_MMX2) {
switch (c->dstFormat) {