From 47aee6f047d01df623a9a5342564dc2369e024f6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 26 Mar 2015 15:29:54 +0100 Subject: avcodec/arm/flacdsp_init_arm: Put CONFIG_FLAC_DECODER first in if() This is more consistent Signed-off-by: Michael Niedermayer --- libavcodec/arm/flacdsp_init_arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/arm/flacdsp_init_arm.c b/libavcodec/arm/flacdsp_init_arm.c index df1b19c..82a807f 100644 --- a/libavcodec/arm/flacdsp_init_arm.c +++ b/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, int bps) { - if (bps <= 16 && CONFIG_FLAC_DECODER) + if (CONFIG_FLAC_DECODER && bps <= 16) c->lpc = ff_flac_lpc_16_arm; } -- cgit v1.1