diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-01-27 14:21:26 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-28 03:15:35 +0100 |
commit | 79ce107847fa89c132a7e7a8732f4fecef414c30 (patch) | |
tree | c9b52b20e9637fe9e664091494b5b49e556eb01a /libavcodec/dca.c | |
parent | 733dbe7d18c267728ef03762d83e9e1b086668cd (diff) | |
download | ffmpeg-79ce107847fa89c132a7e7a8732f4fecef414c30.tar.gz |
cosmetics: indentation and spacing
(cherry picked from commit b5ec6383432c907bed175f20e39af1a99dc75cfb)
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; } |