Mercurial > libavcodec.hg
diff aac_ac3_parser.c @ 9512:ba5d9a97ab2f libavcodec
Add channel layout support to the AC-3 decoder and AC-3 parser.
author | jbr |
---|---|
date | Sun, 19 Apr 2009 15:05:32 +0000 |
parents | 82ab0b77695b |
children | 61c62ab2218f |
line wrap: on
line diff
--- a/aac_ac3_parser.c Sun Apr 19 14:05:55 2009 +0000 +++ b/aac_ac3_parser.c Sun Apr 19 15:05:32 2009 +0000 @@ -85,6 +85,7 @@ avctx->channels = avctx->request_channels; } else { avctx->channels = s->channels; + avctx->channel_layout = s->channel_layout; } avctx->bit_rate = s->bit_rate; avctx->frame_size = s->samples;