Commit f1de9700 authored by superdump's avatar superdump

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20193 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a7f0c5e5
......@@ -1682,7 +1682,7 @@ static int parse_adts_frame_header(AACContext *ac, GetBitContext *gb)
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment