OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c66967
)
mandelbrot: fix inner=period coloring routine
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Oct 2012 02:00:55 +0000
(
04:00
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Oct 2012 02:00:55 +0000
(
04:00
+0200)
Fixes CID717571
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vsrc_mandelbrot.c
patch
|
blob
|
history
diff --git
a/libavfilter/vsrc_mandelbrot.c
b/libavfilter/vsrc_mandelbrot.c
index
1fbf828
..
68a9cf7
100644
(file)
--- 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<<1
6)&0xE000) + ((c<<27
)&0xE00000);
+ c= ((c<<5)&0xE0) + ((c<<1
0)&0xE000) + ((c<<15
)&0xE00000);
}
}else if(mb->inner==CONVTIME){
c= floor(i*255.0/mb->maxiter+dv)*0x010101;