aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-26 15:29:54 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-26 15:41:27 +0100
commit47aee6f047d01df623a9a5342564dc2369e024f6 (patch)
tree1dd388c2af58488cbc384323c4bcc544fd287d48
parent71258e5d87cb4f5c7a1766f847c140cf15983ef9 (diff)
downloadffmpeg-47aee6f047d01df623a9a5342564dc2369e024f6.tar.gz
avcodec/arm/flacdsp_init_arm: Put CONFIG_FLAC_DECODER first in if()
This is more consistent Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/arm/flacdsp_init_arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/arm/flacdsp_init_arm.c b/libavcodec/arm/flacdsp_init_arm.c
index df1b19c1e8..82a807f8ba 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;
}