Commit 91b105ce authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/ac3dec: avoid #if, use if() instead, its cleaner and shorter

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
Signed-off-by: 's avatarNedeljko Babic <nbabic@mips.com>
parent b2191429
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment