Browse Source

Fix compilation of AC3 decoder if E-AC3 decoder was disabled.

Originally committed as revision 23131 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Carl Eugen Hoyos 15 years ago
parent
commit
eb0a4d3222
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/ac3dec.c

+ 1
- 1
libavcodec/ac3dec.c View File

@@ -1268,7 +1268,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
}

/* apply spectral extension to high frequency bins */
if (s->spx_in_use) {
if (s->spx_in_use && CONFIG_EAC3_DECODER) {
ff_eac3_apply_spectral_extension(s);
}



Loading…
Cancel
Save