aacdec: allow output reconfiguration on channel changes
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Oct 2011 09:41:35 +0000 (09:41 +0000)
committerJanne Grunau <janne-libav@jannau.net>
Fri, 28 Oct 2011 20:44:59 +0000 (22:44 +0200)
commitbc2dd36740ef13d1f95c243ff58167fafb3d9a51
treee1ee8ed7df47b8b5c053dd484c96f2792aaa0cf0
parentf3db0f7403f652428930dd77d5fd049b8165c54a
aacdec: allow output reconfiguration on channel changes

Locking the decoder against channel config changes in
parse_adts_frame_header() seems to be unnecessary and
streams with channel config changes are reported.

The sample in http://roundup.libav.org/issue999 still works.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavcodec/aacdec.c