summaryrefslogtreecommitdiffstats
path: root/libavcodec/wmadec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-01-27 14:21:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-01-28 03:15:35 +0100
commit79ce107847fa89c132a7e7a8732f4fecef414c30 (patch)
treec9b52b20e9637fe9e664091494b5b49e556eb01a /libavcodec/wmadec.c
parent733dbe7d18c267728ef03762d83e9e1b086668cd (diff)
downloadffmpeg-streaming-79ce107847fa89c132a7e7a8732f4fecef414c30.zip
ffmpeg-streaming-79ce107847fa89c132a7e7a8732f4fecef414c30.tar.gz
cosmetics: indentation and spacing
(cherry picked from commit b5ec6383432c907bed175f20e39af1a99dc75cfb)
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 03d7bd1..d85d80d 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);
OpenPOWER on IntegriCloud