cosmetics: indentation and spacing
This commit is contained in:
parent
9d06d7bce3
commit
b5ec638343
@ -195,7 +195,7 @@ static av_cold int ac3_decode_init(AVCodecContext *avctx)
|
|||||||
dsputil_init(&s->dsp, avctx);
|
dsputil_init(&s->dsp, avctx);
|
||||||
av_lfg_init(&s->dith_state, 0);
|
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;
|
s->mul_bias = 32767.0f;
|
||||||
|
|
||||||
/* allow downmixing to stereo or mono */
|
/* allow downmixing to stereo or mono */
|
||||||
|
@ -1846,7 +1846,6 @@ static av_cold int dca_decode_init(AVCodecContext * avctx)
|
|||||||
avctx->channels = avctx->request_channels;
|
avctx->channels = avctx->request_channels;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -792,7 +792,7 @@ static int wma_decode_frame(WMACodecContext *s, int16_t *samples)
|
|||||||
for (ch = 0; ch < MAX_CHANNELS; ch++)
|
for (ch = 0; ch < MAX_CHANNELS; ch++)
|
||||||
output[ch] = s->frame_out[ch];
|
output[ch] = s->frame_out[ch];
|
||||||
s->dsp.float_to_int16_interleave(samples, output, n, incr);
|
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 */
|
/* prepare for next block */
|
||||||
memmove(&s->frame_out[ch][0], &s->frame_out[ch][n], n * sizeof(float));
|
memmove(&s->frame_out[ch][0], &s->frame_out[ch][n], n * sizeof(float));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user