On Wed, Jun 20, 2012 at 4:35 AM, Måns Rullgård <[email protected]> wrote: > Alex Converse <[email protected]> writes: > >> 'channel_layout' not 'channels' from the stored configuration should go >> to AVCodecContext's 'channel_layout'. >> --- >> libavcodec/aacdec.c | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c >> index 3cf4a7f..f16b831 100644 >> --- a/libavcodec/aacdec.c >> +++ b/libavcodec/aacdec.c >> @@ -368,7 +368,7 @@ static void pop_output_configuration(AACContext *ac) { >> if (ac->oc[1].status != OC_LOCKED) { >> ac->oc[1] = ac->oc[0]; >> ac->avctx->channels = ac->oc[1].channels; >> - ac->avctx->channel_layout = ac->oc[1].channels; >> + ac->avctx->channel_layout = ac->oc[1].channel_layout; >> } >> } >> >> -- > > Looks OK.
Consider CC'ing libav-stable in the commit msg. -- regards, Reinhard _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
