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>
This commit is contained in:
Michael Niedermayer 2014-04-01 16:31:10 +02:00
parent b219142921
commit 91b105ce5b
1 changed files with 2 additions and 3 deletions

View File

@ -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,