diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-16 04:00:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-16 04:00:55 +0200 |
commit | 4cc4ca584736a2221697d55c9e4863a14f32bd8d (patch) | |
tree | 788c3c68d2d37fd463bcc6da56418f156fc12f4c | |
parent | 9c669672c7fd45ef1cad782ab551be438ceac6cd (diff) | |
download | ffmpeg-4cc4ca584736a2221697d55c9e4863a14f32bd8d.tar.gz |
mandelbrot: fix inner=period coloring routine
Fixes CID717571
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vsrc_mandelbrot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c index 1fbf828085..68a9cf798a 100644 --- a/libavfilter/vsrc_mandelbrot.c +++ b/libavfilter/vsrc_mandelbrot.c @@ -346,7 +346,7 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize, break; if(j){ c= i-j; - c= ((c<<5)&0xE0) + ((c<<16)&0xE000) + ((c<<27)&0xE00000); + c= ((c<<5)&0xE0) + ((c<<10)&0xE000) + ((c<<15)&0xE00000); } }else if(mb->inner==CONVTIME){ c= floor(i*255.0/mb->maxiter+dv)*0x010101; |