Commit 5a840f63 authored by Michael Niedermayer's avatar Michael Niedermayer

x86/yuv2rgb_mmx: Remove yuv420 check.

This check is not correct, the code supports more yuv variants.
Fixes Ticket904
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 52889b54
......@@ -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) {
......
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