changeset 8029:e50d7ac76945 libavcodec

Cosmetics: fix indentation after previous commit.
author benoit
date Wed, 15 Oct 2008 07:31:06 +0000
parents 66ff451487a7
children a512ac8fa540
files libvorbis.c
diffstat 1 files changed, 10 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/libvorbis.c	Wed Oct 15 07:29:37 2008 +0000
+++ b/libvorbis.c	Wed Oct 15 07:31:06 2008 +0000
@@ -145,19 +145,17 @@
         int samples = OGGVORBIS_FRAME_SIZE;
         float **buffer ;
 
-    buffer = vorbis_analysis_buffer(&context->vd, samples) ;
-
-    if(context->vi.channels == 1) {
-        for(l = 0 ; l < samples ; l++)
-            buffer[0][l]=audio[l]/32768.f;
-    } else {
-        for(l = 0 ; l < samples ; l++){
-            buffer[0][l]=audio[l*2]/32768.f;
-            buffer[1][l]=audio[l*2+1]/32768.f;
+        buffer = vorbis_analysis_buffer(&context->vd, samples) ;
+        if(context->vi.channels == 1) {
+            for(l = 0 ; l < samples ; l++)
+                buffer[0][l]=audio[l]/32768.f;
+        } else {
+            for(l = 0 ; l < samples ; l++){
+                buffer[0][l]=audio[l*2]/32768.f;
+                buffer[1][l]=audio[l*2+1]/32768.f;
+            }
         }
-    }
-
-    vorbis_analysis_wrote(&context->vd, samples) ;
+        vorbis_analysis_wrote(&context->vd, samples) ;
     } else {
         if(!context->eof)
             vorbis_analysis_wrote(&context->vd, 0) ;