Browse Source

lavc/dirac_dwt: fix building without asm

clang needs HAVE_MMX to be first in order to avoid an undefined
reference error.
tags/n3.0
Michael Bradshaw Carl Eugen Hoyos 9 years ago
parent
commit
1c40bccc09
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dirac_dwt.c

+ 1
- 1
libavcodec/dirac_dwt.c 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;
}


Loading…
Cancel
Save