# HG changeset patch # User alexc # Date 1267669968 0 # Node ID 3b06c3d9e72d5f475f0bdda15aae4b0238a35bc0 # Parent 9056fd7652557a4e43f19603f2919eea01a7acee Cosmetics: Re-indent after last commit. diff -r 9056fd765255 -r 3b06c3d9e72d aac_ac3_parser.c --- a/aac_ac3_parser.c Thu Mar 04 02:30:51 2010 +0000 +++ b/aac_ac3_parser.c Thu Mar 04 02:32:48 2010 +0000 @@ -81,19 +81,19 @@ if (avctx->codec_id != CODEC_ID_AAC) { avctx->sample_rate = s->sample_rate; - /* allow downmixing to stereo (or mono for AC-3) */ - if(avctx->request_channels > 0 && - avctx->request_channels < s->channels && - (avctx->request_channels <= 2 || - (avctx->request_channels == 1 && - (avctx->codec_id == CODEC_ID_AC3 || - avctx->codec_id == CODEC_ID_EAC3)))) { - avctx->channels = avctx->request_channels; - } else { - avctx->channels = s->channels; - avctx->channel_layout = s->channel_layout; - } - avctx->frame_size = s->samples; + /* allow downmixing to stereo (or mono for AC-3) */ + if(avctx->request_channels > 0 && + avctx->request_channels < s->channels && + (avctx->request_channels <= 2 || + (avctx->request_channels == 1 && + (avctx->codec_id == CODEC_ID_AC3 || + avctx->codec_id == CODEC_ID_EAC3)))) { + avctx->channels = avctx->request_channels; + } else { + avctx->channels = s->channels; + avctx->channel_layout = s->channel_layout; + } + avctx->frame_size = s->samples; } avctx->bit_rate = s->bit_rate;