avcodec/arm/flacdsp_init_arm: Put CONFIG_FLAC_DECODER first in if()

This is more consistent

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/127/head
Michael Niedermayer 10 years ago
parent 71258e5d87
commit 47aee6f047
  1. 2
      libavcodec/arm/flacdsp_init_arm.c

@ -27,6 +27,6 @@ void ff_flac_lpc_16_arm(int32_t *samples, const int coeffs[32], int order,
av_cold void ff_flacdsp_init_arm(FLACDSPContext *c, enum AVSampleFormat fmt, int channels, av_cold void ff_flacdsp_init_arm(FLACDSPContext *c, enum AVSampleFormat fmt, int channels,
int bps) int bps)
{ {
if (bps <= 16 && CONFIG_FLAC_DECODER) if (CONFIG_FLAC_DECODER && bps <= 16)
c->lpc = ff_flac_lpc_16_arm; c->lpc = ff_flac_lpc_16_arm;
} }

Loading…
Cancel
Save