aac: move sample_fmt selection before decoder configuration.
authorHendrik Leppkes <h.leppkes@gmail.com>
Tue, 12 Jun 2012 08:05:29 +0000 (10:05 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 21 Jun 2012 11:25:50 +0000 (13:25 +0200)
commitf77fd34bc34c93a555eee99226d01d947d02a2a3
tree6ac7feae531d8f1517bea26066f04d69c59531f5
parent24e7a22e1fda8b5b18307a35f0511e659de76389
aac: move sample_fmt selection before decoder configuration.

The decoder configuration initializes the sbr mdct, which needs to know about the sample format to properly take the scale factor into account.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/aacdec.c