avcodec/arm/flacdsp_init_arm: Put CONFIG_FLAC_DECODER first in if()
This is more consistent Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
71258e5d87
commit
47aee6f047
@ -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…
Reference in New Issue
Block a user