Commit 905202ef authored by Michael Niedermayer's avatar Michael Niedermayer

mandelbrot: increase cache size

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent fd8d0345
......@@ -93,7 +93,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
mb->time_base.num = frame_rate_q.den;
mb->time_base.den = frame_rate_q.num;
mb->cache_allocated = mb->w * mb->h*2;
mb->cache_allocated = mb->w * mb->h * 3;
mb->cache_used = 0;
mb->point_cache= av_malloc(sizeof(*mb->point_cache)*mb->cache_allocated);
mb-> next_cache= av_malloc(sizeof(*mb-> next_cache)*mb->cache_allocated);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment