[FFmpeg-cvslog] r19727 - trunk/libavcodec/vorbis.c

lorenm subversion
Thu Aug 27 15:41:29 CEST 2009


Author: lorenm
Date: Thu Aug 27 15:41:29 2009
New Revision: 19727

Log:
indent

Modified:
   trunk/libavcodec/vorbis.c

Modified: trunk/libavcodec/vorbis.c
==============================================================================
--- trunk/libavcodec/vorbis.c	Thu Aug 27 15:41:11 2009	(r19726)
+++ trunk/libavcodec/vorbis.c	Thu Aug 27 15:41:29 2009	(r19727)
@@ -176,20 +176,20 @@ static void render_line(int x0, int y0, 
     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];
-    }
     }
 }
 



More information about the ffmpeg-cvslog mailing list