diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-01-27 17:21:26 +0300 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-28 03:21:46 +0300 |
commit | b5ec6383432c907bed175f20e39af1a99dc75cfb (patch) | |
tree | f0ceb676ffaec2f3399846835cbd8bb856387087 /libavcodec/dca.c | |
parent | 9d06d7bce3babb82ed650c13ed13a57f6f626a71 (diff) |
cosmetics: indentation and spacing
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r-- | libavcodec/dca.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c index aa71411efa..fc5c0b5558 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -1838,14 +1838,13 @@ static av_cold int dca_decode_init(AVCodecContext * avctx) s->samples_chanptr[i] = s->samples + i * 256; avctx->sample_fmt = AV_SAMPLE_FMT_S16; - s->scale_bias = 1.0; - - /* allow downmixing to stereo */ - if (avctx->channels > 0 && avctx->request_channels < avctx->channels && - avctx->request_channels == 2) { - avctx->channels = avctx->request_channels; - } + s->scale_bias = 1.0; + /* allow downmixing to stereo */ + if (avctx->channels > 0 && avctx->request_channels < avctx->channels && + avctx->request_channels == 2) { + avctx->channels = avctx->request_channels; + } return 0; } |