1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

cosmetics: indentation and spacing

This commit is contained in:
Justin Ruggles 2011-01-27 14:21:26 +00:00 committed by Mans Rullgard
parent 9d06d7bce3
commit b5ec638343
5 changed files with 18 additions and 19 deletions

View File

@ -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 */

View File

@ -1846,7 +1846,6 @@ static av_cold int dca_decode_init(AVCodecContext * avctx)
avctx->channels = avctx->request_channels;
}
return 0;
}

View File

@ -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));
}