aacdec: Rework channel mapping compatibility hacks.
authorAlex Converse <alex.converse@gmail.com>
Fri, 10 Sep 2010 18:01:48 +0000 (18:01 +0000)
committerAlex Converse <alex.converse@gmail.com>
Fri, 10 Sep 2010 18:01:48 +0000 (18:01 +0000)
commitbb2d8e9f05b6129b8835f2fbe0dc73e6921412bb
tree5ec496c4889e26256d7b77ed751dcaf40060a7ff
parent11198b18db1f12ddce992b8f44b38572714725e1
aacdec: Rework channel mapping compatibility hacks.

For a PCE based configuration map the channels solely based on tags.
For an indexed configuration map the channels solely based on position.

This works with all known exotic samples including al17, elem_id0, bad_concat,
and lfe_is_sce.

Originally committed as revision 25098 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aac.h
libavcodec/aacdec.c