changeset 11452:d5673aafc6bf libavcodec

Fix indentation after r22414.
author cehoyos
date Tue, 09 Mar 2010 23:37:45 +0000
parents 01559518729e
children 4e1447ac5301
files wmadec.c
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/wmadec.c	Tue Mar 09 23:35:57 2010 +0000
+++ b/wmadec.c	Tue Mar 09 23:37:45 2010 +0000
@@ -791,18 +791,18 @@
     n = s->frame_len;
     incr = s->nb_channels;
     if (s->dsp.float_to_int16_interleave == ff_float_to_int16_interleave_c) {
-    for(ch = 0; ch < s->nb_channels; ch++) {
-        ptr = samples + ch;
-        iptr = s->frame_out[ch];
+        for(ch = 0; ch < s->nb_channels; ch++) {
+            ptr = samples + ch;
+            iptr = s->frame_out[ch];
 
-        for(i=0;i<n;i++) {
-            *ptr = av_clip_int16(lrintf(*iptr++));
-            ptr += incr;
+            for(i=0;i<n;i++) {
+                *ptr = av_clip_int16(lrintf(*iptr++));
+                ptr += incr;
+            }
+            /* prepare for next block */
+            memmove(&s->frame_out[ch][0], &s->frame_out[ch][s->frame_len],
+                    s->frame_len * sizeof(float));
         }
-        /* prepare for next block */
-        memmove(&s->frame_out[ch][0], &s->frame_out[ch][s->frame_len],
-                s->frame_len * sizeof(float));
-    }
     } else {
         float *output[MAX_CHANNELS];
         for (ch = 0; ch < MAX_CHANNELS; ch++)