# HG changeset patch # User alexc # Date 1242237586 0 # Node ID 4d13e2e2503a23d8e704e7ac4b1bf8672e978ef9 # Parent 61c62ab2218f7aaa0b4f5e2480a5e86dcd5d88bf Cosmetics after last commit diff -r 61c62ab2218f -r 4d13e2e2503a aac_ac3_parser.c --- a/aac_ac3_parser.c Wed May 13 17:57:58 2009 +0000 +++ b/aac_ac3_parser.c Wed May 13 17:59:46 2009 +0000 @@ -83,11 +83,9 @@ (avctx->codec_id == CODEC_ID_AC3 || avctx->codec_id == CODEC_ID_EAC3)))) { avctx->channels = avctx->request_channels; - } else { - if (avctx->codec_id != CODEC_ID_AAC || s->channels) { + } else if (avctx->codec_id != CODEC_ID_AAC || s->channels) { avctx->channels = s->channels; avctx->channel_layout = s->channel_layout; - } } avctx->bit_rate = s->bit_rate; avctx->frame_size = s->samples;