aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-08 20:40:54 +0200
committerClément Bœsch <ubitux@gmail.com>2013-04-08 20:40:54 +0200
commite82f562fa5ef7de4764ccd699c1fc8430454f17a (patch)
tree937820473f6d91cd09421b0a9bfcc0551bca47c6 /libavfilter
parent51bcd5cd65df2e7e7f7a3122587da2bffe7e04b2 (diff)
downloadffmpeg-e82f562fa5ef7de4764ccd699c1fc8430454f17a.tar.gz
lavfi/mandelbrot: reindent after 51bcd5cd.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vsrc_mandelbrot.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index 0b5deaf270..7bbdf958b8 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -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;