Commit 124eb7e4 authored by Michael Niedermayer's avatar Michael Niedermayer

aacdec: drop channel reseting code.

its no longer needed and causes a race with the flv demuxer.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent aa0f84df
...@@ -374,9 +374,6 @@ static void pop_output_configuration(AACContext *ac) { ...@@ -374,9 +374,6 @@ static void pop_output_configuration(AACContext *ac) {
ac->oc[1] = ac->oc[0]; ac->oc[1] = ac->oc[0];
ac->avctx->channels = ac->oc[1].channels; ac->avctx->channels = ac->oc[1].channels;
ac->avctx->channel_layout = ac->oc[1].channel_layout; ac->avctx->channel_layout = ac->oc[1].channel_layout;
}else{
ac->avctx->channels = 0;
ac->avctx->channel_layout = 0;
} }
} }
} }
......
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