lavc/dirac_dwt: fix building without asm

clang needs HAVE_MMX to be first in order to avoid an undefined
reference error.
This commit is contained in:
Michael Bradshaw 2016-02-06 01:14:19 +01:00 committed by Carl Eugen Hoyos
parent aa751573fe
commit 1c40bccc09

View File

@ -54,7 +54,7 @@ int ff_spatial_idwt_init2(DWTContext *d, uint8_t *buffer, int width, int height,
return AVERROR_INVALIDDATA;
}
if (bit_depth == 8 && HAVE_MMX)
if (HAVE_MMX && bit_depth == 8)
ff_spatial_idwt_init_mmx(d, type);
return 0;
}