Browse code

vsrc_mandelbrot: increase zyklus array size so that optimizations can write a bit more.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2011/11/19 22:16:53
Showing 1 changed files
... ...
@@ -148,7 +148,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
148 148
     mb->cache_used = 0;
149 149
     mb->point_cache= av_malloc(sizeof(*mb->point_cache)*mb->cache_allocated);
150 150
     mb-> next_cache= av_malloc(sizeof(*mb-> next_cache)*mb->cache_allocated);
151
-    mb-> zyklus    = av_malloc(sizeof(*mb->zyklus) * mb->maxiter);
151
+    mb-> zyklus    = av_malloc(sizeof(*mb->zyklus) * (mb->maxiter+16));
152 152
 
153 153
     return 0;
154 154
 }