mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
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:
parent
b219142921
commit
91b105ce5b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user