avcodec/x86/hpeldsp_init: remove redundant if()
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 21 May 2014 11:38:27 +0000 (13:38 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 May 2014 11:38:27 +0000 (13:38 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/hpeldsp_init.c

index 593a863..4a1b3cb 100644 (file)
@@ -171,11 +171,9 @@ HPELDSP_AVG_PIXELS16(_mmxext)
 #define SET_HPEL_FUNCS(PFX, IDX, SIZE, CPU)                                     \
     do {                                                                        \
         SET_HPEL_FUNCS_EXT(PFX, IDX, SIZE, CPU)                                 \
-        if (HAVE_MMX_INLINE) {                                                  \
         c->PFX ## _pixels_tab IDX [1] = PFX ## _pixels ## SIZE ## _x2_  ## CPU; \
         c->PFX ## _pixels_tab IDX [2] = PFX ## _pixels ## SIZE ## _y2_  ## CPU; \
         c->PFX ## _pixels_tab IDX [3] = PFX ## _pixels ## SIZE ## _xy2_ ## CPU; \
-        }                                                                       \
     } while (0)
 #else
 #define SET_HPEL_FUNCS(PFX, IDX, SIZE, CPU)                                     \