Browse Source

lavfi/mandelbrot: reindent after 51bcd5cd.

tags/n2.0
Clément Bœsch 13 years ago
parent
commit
e82f562fa5
1 changed files with 6 additions and 7 deletions
  1. +6
    -7
      libavfilter/vsrc_mandelbrot.c

+ 6
- 7
libavfilter/vsrc_mandelbrot.c View 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;


Loading…
Cancel
Save