cosmetics: reindent after previous commit
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 23 Feb 2011 18:11:00 +0000 (13:11 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Feb 2011 02:16:03 +0000 (03:16 +0100)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 868f2f4d90e07edd9a65bd9b917bb5940643ec75)

libavcodec/vmdav.c

index 5ee4248..e307b53 100644 (file)
@@ -484,19 +484,19 @@ static int vmdaudio_loadsound(VmdAudioContext *s, unsigned char *data,
 //    if (silence)
 //        av_log(s->avctx, AV_LOG_INFO, "silent block!\n");
 
-        if (silence) {
-            memset(data, 0, data_size * 2);
-        } else {
-            if (s->bits == 16)
-                vmdaudio_decode_audio(s, data, buf, data_size, s->channels == 2);
-            else {
-                /* copy the data but convert it to signed */
-                for (i = 0; i < data_size; i++){
-                    *data++ = buf[i] + 0x80;
-                    *data++ = buf[i] + 0x80;
-                }
+    if (silence) {
+        memset(data, 0, data_size * 2);
+    } else {
+        if (s->bits == 16)
+            vmdaudio_decode_audio(s, data, buf, data_size, s->channels == 2);
+        else {
+            /* copy the data but convert it to signed */
+            for (i = 0; i < data_size; i++){
+                *data++ = buf[i] + 0x80;
+                *data++ = buf[i] + 0x80;
             }
         }
+    }
 
     return data_size * 2;
 }