Commit e82f562f authored by Clément Bœsch's avatar Clément Bœsch

lavfi/mandelbrot: reindent after 51bcd5cd.

parent 51bcd5cd
...@@ -281,13 +281,12 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize, ...@@ -281,13 +281,12 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize,
continue; continue;
if(!mb->morphamp){ if(!mb->morphamp){
if(interpol(mb, color, x, y, linesize)){ if(interpol(mb, color, x, y, linesize)){
//TODO: reindent if(next_cidx < mb->cache_allocated){
if(next_cidx < mb->cache_allocated){ mb->next_cache[next_cidx ].p[0]= cr;
mb->next_cache[next_cidx ].p[0]= cr; mb->next_cache[next_cidx ].p[1]= ci;
mb->next_cache[next_cidx ].p[1]= ci; mb->next_cache[next_cidx++].val = color[x + y*linesize];
mb->next_cache[next_cidx++].val = color[x + y*linesize]; }
} continue;
continue;
} }
}else{ }else{
zr += cos(pts * mb->morphxf) * mb->morphamp; zr += cos(pts * mb->morphxf) * mb->morphamp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment