diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-15 01:53:21 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-15 01:53:21 +0100 |
commit | 1567ec43a3bd4b392405abd33a83454d8db8e3b5 (patch) | |
tree | b18c6c59f1547b1d7b6fce5ef7426ced37e83849 | |
parent | 2a72b1664d7bfde3ad624c140519396b2e31c7fe (diff) | |
download | ffmpeg-1567ec43a3bd4b392405abd33a83454d8db8e3b5.tar.gz |
avfilter/vsrc_mandelbrot: fix indention of mis-indented block
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vsrc_mandelbrot.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c index 255f2db6aa..05072e1380 100644 --- a/libavfilter/vsrc_mandelbrot.c +++ b/libavfilter/vsrc_mandelbrot.c @@ -354,14 +354,14 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize, } if(!c){ if(mb->inner==PERIOD){ - int j; - for(j=i-1; j; j--) - if(SQR(mb->zyklus[j][0]-zr) + SQR(mb->zyklus[j][1]-zi) < epsilon*epsilon*10) - break; - if(j){ - c= i-j; - c= ((c<<5)&0xE0) + ((c<<10)&0xE000) + ((c<<15)&0xE00000); - } + int j; + for(j=i-1; j; j--) + if(SQR(mb->zyklus[j][0]-zr) + SQR(mb->zyklus[j][1]-zi) < epsilon*epsilon*10) + break; + if(j){ + c= i-j; + c= ((c<<5)&0xE0) + ((c<<10)&0xE000) + ((c<<15)&0xE00000); + } }else if(mb->inner==CONVTIME){ c= floor(i*255.0/mb->maxiter+dv)*0x010101; } else if(mb->inner==MINCOL){ |