Mercurial > libavcodec.hg
changeset 6649:f7d73a268ef6 libavcodec
indent
author | michael |
---|---|
date | Sat, 19 Apr 2008 10:48:50 +0000 |
parents | 4b9ae696e5cc |
children | 2d1497d25251 |
files | aac_ac3_parser.c |
diffstat | 1 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/aac_ac3_parser.c Sat Apr 19 09:24:20 2008 +0000 +++ b/aac_ac3_parser.c Sat Apr 19 10:48:50 2008 +0000 @@ -67,20 +67,20 @@ *poutbuf = buf; *poutbuf_size = buf_size; - /* update codec info */ - avctx->sample_rate = s->sample_rate; - /* allow downmixing to stereo (or mono for AC3) */ - 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->channels = avctx->request_channels; - } else { - avctx->channels = s->channels; - } - avctx->bit_rate = s->bit_rate; - avctx->frame_size = s->samples; + /* update codec info */ + avctx->sample_rate = s->sample_rate; + /* allow downmixing to stereo (or mono for AC3) */ + 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->channels = avctx->request_channels; + } else { + avctx->channels = s->channels; + } + avctx->bit_rate = s->bit_rate; + avctx->frame_size = s->samples; return i; }