You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
committed by
Carl Eugen Hoyos
parent
aa751573fe
commit
1c40bccc09
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user