lavfi/mandelbrot: reindent after 51bcd5cd.
authorClément Bœsch <ubitux@gmail.com>
Mon, 8 Apr 2013 18:40:54 +0000 (20:40 +0200)
committerClément Bœsch <ubitux@gmail.com>
Mon, 8 Apr 2013 18:40:54 +0000 (20:40 +0200)
libavfilter/vsrc_mandelbrot.c

index 0b5deaf..7bbdf95 100644 (file)
@@ -281,13 +281,12 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize,
                 continue;
             if(!mb->morphamp){
                 if(interpol(mb, color, x, y, linesize)){
-                //TODO: reindent
-                if(next_cidx < mb->cache_allocated){
-                    mb->next_cache[next_cidx  ].p[0]= cr;
-                    mb->next_cache[next_cidx  ].p[1]= ci;
-                    mb->next_cache[next_cidx++].val = color[x + y*linesize];
-                }
-                continue;
+                    if(next_cidx < mb->cache_allocated){
+                        mb->next_cache[next_cidx  ].p[0]= cr;
+                        mb->next_cache[next_cidx  ].p[1]= ci;
+                        mb->next_cache[next_cidx++].val = color[x + y*linesize];
+                    }
+                    continue;
                 }
             }else{
                 zr += cos(pts * mb->morphxf) * mb->morphamp;