diff options
Diffstat (limited to 'gst/goom/filters.c')
-rw-r--r-- | gst/goom/filters.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/goom/filters.c b/gst/goom/filters.c index 866885be..b898e89c 100644 --- a/gst/goom/filters.c +++ b/gst/goom/filters.c @@ -350,7 +350,7 @@ zoomFilterSetResolution (GoomData * gd, ZoomFilterData * zf) coeffs = (guint32 *) ((1 + ((unsigned int) (freecoeffs)) / 128) * 128); #else - zf->buffer = malloc (sizeof (guint32) * zf->buffsize * 5); + zf->buffer = calloc (sizeof (guint32), zf->buffsize * 5); zf->pos10 = zf->buffer; zf->c[0] = zf->pos10 + zf->buffsize; zf->c[1] = zf->c[0] + zf->buffsize; |