Mercurial > libavcodec.hg
comparison aac.h @ 12483:0159a19bfff7 libavcodec
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.
author | alexc |
---|---|
date | Fri, 10 Sep 2010 18:01:48 +0000 |
parents | f71c3558f3f5 |
children |
comparison
equal
deleted
inserted
replaced
12482:8cafb4db28cb | 12483:0159a19bfff7 |
---|---|
249 enum ChannelPosition che_pos[4][MAX_ELEM_ID]; /**< channel element channel mapping with the | 249 enum ChannelPosition che_pos[4][MAX_ELEM_ID]; /**< channel element channel mapping with the |
250 * first index as the first 4 raw data block types | 250 * first index as the first 4 raw data block types |
251 */ | 251 */ |
252 ChannelElement *che[4][MAX_ELEM_ID]; | 252 ChannelElement *che[4][MAX_ELEM_ID]; |
253 ChannelElement *tag_che_map[4][MAX_ELEM_ID]; | 253 ChannelElement *tag_che_map[4][MAX_ELEM_ID]; |
254 uint8_t tags_seen_this_frame[4][MAX_ELEM_ID]; | |
255 int tags_mapped; | 254 int tags_mapped; |
256 /** @} */ | 255 /** @} */ |
257 | 256 |
258 /** | 257 /** |
259 * @defgroup temporary aligned temporary buffers (We do not want to have these on the stack.) | 258 * @defgroup temporary aligned temporary buffers (We do not want to have these on the stack.) |