diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-01 16:31:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-01 19:58:47 +0200 |
commit | 91b105ce5bfba374297a0f03e5b89ff850730c55 (patch) | |
tree | 796d73351040ca9db05adedc2a1b4d33f0fc47e6 | |
parent | b219142921e9f59307ad9edd3ed445cf3c1a9b5c (diff) | |
download | ffmpeg-91b105ce5bfba374297a0f03e5b89ff850730c55.tar.gz |
avcodec/ac3dec: avoid #if, use if() instead, its cleaner and shorter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Nedeljko Babic <nbabic@mips.com>
-rw-r--r-- | libavcodec/ac3dec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index f011a3b6a6..e75be7ef15 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -873,9 +873,8 @@ static int decode_audio_block(AC3DecodeContext *s, int blk) s->spx_dst_start_freq = dst_start_freq; s->spx_src_start_freq = src_start_freq; -#if !USE_FIXED - s->spx_dst_end_freq = dst_end_freq; -#endif + if (!USE_FIXED) + s->spx_dst_end_freq = dst_end_freq; decode_band_structure(gbc, blk, s->eac3, 0, start_subband, end_subband, |