Commit ab5305d1 authored by alexc's avatar alexc

Set the SBR mode to implicit on ADTS frames occurring before the output is locked.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20700 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f4aecf59
......@@ -1687,6 +1687,8 @@ static int parse_adts_frame_header(AACContext *ac, GetBitContext *gb)
} else if (ac->output_configured != OC_LOCKED) {
ac->output_configured = OC_NONE;
}
if (ac->output_configured != OC_LOCKED)
ac->m4ac.sbr = -1;
ac->m4ac.sample_rate = hdr_info.sample_rate;
ac->m4ac.sampling_index = hdr_info.sampling_index;
ac->m4ac.object_type = hdr_info.object_type;
......
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