summaryrefslogtreecommitdiff
path: root/libavcodec/wmadec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-01-27 14:21:26 +0000
committerMans Rullgard <mans@mansr.com>2011-01-28 00:21:46 +0000
commitb5ec6383432c907bed175f20e39af1a99dc75cfb (patch)
treef0ceb676ffaec2f3399846835cbd8bb856387087 /libavcodec/wmadec.c
parent9d06d7bce3babb82ed650c13ed13a57f6f626a71 (diff)
cosmetics: indentation and spacing
Diffstat (limited to 'libavcodec/wmadec.c')
-rw-r--r--libavcodec/wmadec.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c
index 03d7bd19fc..d85d80d574 100644
--- a/libavcodec/wmadec.c
+++ b/libavcodec/wmadec.c
@@ -789,13 +789,13 @@ static int wma_decode_frame(WMACodecContext *s, int16_t *samples)
/* convert frame to integer */
n = s->frame_len;
incr = s->nb_channels;
- 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++) {
- /* prepare for next block */
- memmove(&s->frame_out[ch][0], &s->frame_out[ch][n], n * sizeof(float));
- }
+ 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++) {
+ /* prepare for next block */
+ memmove(&s->frame_out[ch][0], &s->frame_out[ch][n], n * sizeof(float));
+ }
#ifdef TRACE
dump_shorts(s, "samples", samples, n * s->nb_channels);