changeset 10103:2066cbe806ef libavcodec

indent
author lorenm
date Thu, 27 Aug 2009 13:41:29 +0000
parents 76eeb9e3599b
children 0fa3d21b317e
files vorbis.c
diffstat 1 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/vorbis.c	Thu Aug 27 13:41:11 2009 +0000
+++ b/vorbis.c	Thu Aug 27 13:41:29 2009 +0000
@@ -176,20 +176,20 @@
     if(ady*2<=adx) { // optimized common case
         render_line_unrolled(x0, y0, x1, sy, ady, adx, buf);
     } else {
-    int base = dy / adx;
-    int x = x0;
-    int y = y0;
-    int err = -adx;
-    ady -= FFABS(base) * adx;
-    while (++x < x1) {
-        y += base;
-        err += ady;
-        if (err >= 0) {
-            err -= adx;
-            y += sy;
+        int base = dy / adx;
+        int x = x0;
+        int y = y0;
+        int err = -adx;
+        ady -= FFABS(base) * adx;
+        while (++x < x1) {
+            y += base;
+            err += ady;
+            if (err >= 0) {
+                err -= adx;
+                y += sy;
+            }
+            buf[x] = ff_vorbis_floor1_inverse_db_table[y];
         }
-        buf[x] = ff_vorbis_floor1_inverse_db_table[y];
-    }
     }
 }