Browse Source

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>
tags/n2.3
Michael Niedermayer 12 years ago
parent
commit
91b105ce5b
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      libavcodec/ac3dec.c

+ 2
- 3
libavcodec/ac3dec.c 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,


Loading…
Cancel
Save