Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
| ... | ... |
@@ -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 |
} |