Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
e749b3780c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vsrc_mandelbrot.c

+ 1
- 1
libavfilter/vsrc_mandelbrot.c View File

@@ -148,7 +148,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
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);
mb-> zyklus = av_malloc(sizeof(*mb->zyklus) * mb->maxiter);
mb-> zyklus = av_malloc(sizeof(*mb->zyklus) * (mb->maxiter+16));

return 0;
}


Loading…
Cancel
Save