diff options
author | Reinhard Tartler <siretart@tauware.de> | 2010-05-21 18:38:39 +0000 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2010-05-21 18:38:39 +0000 |
commit | cff1f85c3f77aebad87c606db1da10787aae3ca6 (patch) | |
tree | 129c256fe84d03043f6d68d4efb743110eb23fef | |
parent | dd92ff49c9b2d3b515238a525a3f94de7e891327 (diff) | |
download | ffmpeg-cff1f85c3f77aebad87c606db1da10787aae3ca6.tar.gz |
Fix compilation of AC3 decoder if E-AC3 decoder was disabled.
backport r23131 by cehoyos
Originally committed as revision 23220 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
-rw-r--r-- | libavcodec/ac3dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 0f9052ec26..f2f6e5ce4d 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -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); } |