[FFmpeg-cvslog] lavfi/mandelbrot: reindent after 51bcd5cd.
Clément Bœsch
git at videolan.org
Mon Apr 8 20:41:37 CEST 2013
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Mon Apr 8 20:40:54 2013 +0200| [e82f562fa5ef7de4764ccd699c1fc8430454f17a] | committer: Clément Bœsch
lavfi/mandelbrot: reindent after 51bcd5cd.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e82f562fa5ef7de4764ccd699c1fc8430454f17a
---
libavfilter/vsrc_mandelbrot.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index 0b5deaf..7bbdf95 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;
More information about the ffmpeg-cvslog
mailing list