ac3enc: add num_rematrixing_bands to AC3EncodeContext and use it instead of the hardc...
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 4 Mar 2011 21:41:49 +0000 (16:41 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 5 Mar 2011 01:29:34 +0000 (02:29 +0100)
commit5e7950249397bcf850ef41134525895fe83dbd67
tree56798d8a10cdac639f6771dabf516e4ea6673903
parent12dffc45026b8f0f44fceb39069509c7376f5cc8
ac3enc: add num_rematrixing_bands to AC3EncodeContext and use it instead of the hardcoded value.

Currently it is always 4, but this change will allow it to be adjusted when
bandwidth-related features are added such as channel coupling, enhanced
channel coupling, and spectral extension.
(cherry picked from commit 53e35fd340d75c40395e4446b76a72bb1962899b)
libavcodec/ac3enc.c