OSDN Git Service

cosmetics: reindent after previous commit
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 23 Feb 2011 18:11:09 +0000 (13:11 -0500)
committerRonald S. Bultje <rsbultje@gmail.com>
Thu, 24 Feb 2011 02:49:59 +0000 (21:49 -0500)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/vmdav.c

index b3103ec..d0ffa39 100644 (file)
@@ -486,15 +486,15 @@ static int vmdaudio_loadsound(VmdAudioContext *s, unsigned char *data,
         memset(data, 0, silent_size);
         data += silent_size;
     }
-        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 (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 silent_size + data_size * 2;
 }