vsrc_mandelbrot: increase zyklus array size so that optimizations can write a bit more.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
649d3932db
commit
e749b3780c
@ -148,7 +148,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
|
|||||||
mb->cache_used = 0;
|
mb->cache_used = 0;
|
||||||
mb->point_cache= av_malloc(sizeof(*mb->point_cache)*mb->cache_allocated);
|
mb->point_cache= av_malloc(sizeof(*mb->point_cache)*mb->cache_allocated);
|
||||||
mb-> next_cache= av_malloc(sizeof(*mb-> next_cache)*mb->cache_allocated);
|
mb-> next_cache= av_malloc(sizeof(*mb-> next_cache)*mb->cache_allocated);
|
||||||
mb-> zyklus = av_malloc(sizeof(*mb->zyklus) * mb->maxiter);
|
mb-> zyklus = av_malloc(sizeof(*mb->zyklus) * (mb->maxiter+16));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user