Commit b5ec6383 authored by Justin Ruggles's avatar Justin Ruggles Committed by Mans Rullgard

cosmetics: indentation and spacing

parent 9d06d7bc
......@@ -195,7 +195,7 @@ static av_cold int ac3_decode_init(AVCodecContext *avctx)
dsputil_init(&s->dsp, avctx);
av_lfg_init(&s->dith_state, 0);
/* set bias values for float to int16 conversion */
/* set scale value for float to int16 conversion */
s->mul_bias = 32767.0f;
/* allow downmixing to stereo or mono */
......
......@@ -1846,7 +1846,6 @@ static av_cold int dca_decode_init(AVCodecContext * avctx)
avctx->channels = avctx->request_channels;
}
return 0;
}
......
......@@ -792,7 +792,7 @@ static int wma_decode_frame(WMACodecContext *s, int16_t *samples)
for (ch = 0; ch < MAX_CHANNELS; ch++)
output[ch] = s->frame_out[ch];
s->dsp.float_to_int16_interleave(samples, output, n, incr);
for(ch = 0; ch < incr; ch++) {
for (ch = 0; ch < incr; ch++) {
/* prepare for next block */
memmove(&s->frame_out[ch][0], &s->frame_out[ch][n], n * sizeof(float));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment