Mercurial > libavcodec.hg
changeset 10378:03b0316b9ead libavcodec
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.
author | superdump |
---|---|
date | Fri, 09 Oct 2009 15:38:44 +0000 |
parents | 98816e4d5522 |
children | d580026275a1 |
files | aac.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;