[FFmpeg-cvslog] avcodec/arm/flacdsp_init_arm: Put CONFIG_FLAC_DECODER first in if()
Michael Niedermayer
git at videolan.org
Thu Mar 26 16:17:47 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Mar 26 15:29:54 2015 +0100| [47aee6f047d01df623a9a5342564dc2369e024f6] | committer: Michael Niedermayer
avcodec/arm/flacdsp_init_arm: Put CONFIG_FLAC_DECODER first in if()
This is more consistent
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=47aee6f047d01df623a9a5342564dc2369e024f6
---
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;
}
More information about the ffmpeg-cvslog
mailing list