# HG changeset patch # User superdump # Date 1255102724 0 # Node ID 03b0316b9ead1c26b893870af80639406746bedd # Parent 98816e4d5522e19118a680761488af85a35cd0a2 AAC: Fix regression introduced in r20067 where ADTS files would always be signalled as having a channel configuration of 1 in output_configure(). Previously this didn't matter but it does now. diff -r 98816e4d5522 -r 03b0316b9ead aac.c --- a/aac.c Thu Oct 08 14:40:14 2009 +0000 +++ b/aac.c Fri Oct 09 15:38:44 2009 +0000 @@ -1682,7 +1682,7 @@ ac->m4ac.chan_config = hdr_info.chan_config; if (set_default_channel_config(ac, new_che_pos, hdr_info.chan_config)) return -7; - if (output_configure(ac, ac->che_pos, new_che_pos, 1)) + if (output_configure(ac, ac->che_pos, new_che_pos, hdr_info.chan_config)) return -7; } ac->m4ac.sample_rate = hdr_info.sample_rate;