diff options
author | Michael Bradshaw <mjbshaw@google.com> | 2016-02-06 01:14:19 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-02-06 01:14:19 +0100 |
commit | 1c40bccc0949f24bde1cd51194367a4a9fd490c5 (patch) | |
tree | 0ac2b07dbecb3195937c8890f294ec35333632ae | |
parent | aa751573fef5a313fd485a74746ab664bd537581 (diff) | |
download | ffmpeg-1c40bccc0949f24bde1cd51194367a4a9fd490c5.tar.gz |
lavc/dirac_dwt: fix building without asm
clang needs HAVE_MMX to be first in order to avoid an undefined
reference error.
-rw-r--r-- | libavcodec/dirac_dwt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dirac_dwt.c b/libavcodec/dirac_dwt.c index 6cf32ae2b9..9d74e3bee4 100644 --- a/libavcodec/dirac_dwt.c +++ b/libavcodec/dirac_dwt.c @@ -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; } |