From d654aee31f58dd481ded257d89d0ee293b68661f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 20 Nov 2008 21:01:27 +0100 Subject: Memory access fixes: - goom initialization - matroska playing recent files with AAC - replace free() by ffmpeg's av_free() in ff decoders --- src/post/goom/convolve_fx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/post/goom/convolve_fx.c') diff --git a/src/post/goom/convolve_fx.c b/src/post/goom/convolve_fx.c index c394f3bf8..ee36dfd0b 100644 --- a/src/post/goom/convolve_fx.c +++ b/src/post/goom/convolve_fx.c @@ -73,7 +73,7 @@ static void set_motif(ConvData *data, Motif motif) static void convolve_init(VisualFX *_this, PluginInfo *info) { ConvData *data; - data = (ConvData*)malloc(sizeof(ConvData)); + data = (ConvData*)calloc(1, sizeof(ConvData)); _this->fx_data = (void*)data; data->light = secure_f_param("Screen Brightness"); -- cgit v1.2.3