You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
vsrc_mandelbrot: fix inner=period, the previous optimizations broke it.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -355,7 +355,7 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize,
|
|||||||
if(mb->inner==PERIOD){
|
if(mb->inner==PERIOD){
|
||||||
int j;
|
int j;
|
||||||
for(j=i-1; j; j--)
|
for(j=i-1; j; j--)
|
||||||
if(SQR(mb->zyklus[j][0]-zr) + SQR(mb->zyklus[j][1]-zi) < 0.0000000000000001)
|
if(SQR(mb->zyklus[j][0]-zr) + SQR(mb->zyklus[j][1]-zi) < epsilon*epsilon*10)
|
||||||
break;
|
break;
|
||||||
if(j){
|
if(j){
|
||||||
c= i-j;
|
c= i-j;
|
||||||
|
Reference in New Issue
Block a user