Skip to content

Commit 37bed6f

Browse files
committed
aacdec: Try to sniff a reasonable channel layout for PCE based configurations.
This changes the output order of multichannel PCE based streams.
1 parent e7d4a2a commit 37bed6f

File tree

4 files changed

+297
-102
lines changed

4 files changed

+297
-102
lines changed

libavcodec/aac.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,8 @@ typedef struct {
263263
* @name Channel element related data
264264
* @{
265265
*/
266-
enum ChannelPosition che_pos[4][MAX_ELEM_ID]; /**< channel element channel mapping with the
267-
* first index as the first 4 raw data block types
268-
*/
266+
uint8_t layout_map[MAX_ELEM_ID*4][3];
267+
int layout_map_tags;
269268
ChannelElement *che[4][MAX_ELEM_ID];
270269
ChannelElement *tag_che_map[4][MAX_ELEM_ID];
271270
int tags_mapped;

0 commit comments

Comments
 (0)