diff options
author | František Dvořák <valtri@civ.zcu.cz> | 2008-11-20 21:01:27 +0100 |
---|---|---|
committer | František Dvořák <valtri@civ.zcu.cz> | 2008-11-20 21:01:27 +0100 |
commit | d654aee31f58dd481ded257d89d0ee293b68661f (patch) | |
tree | f314b454580c181d0c09fd0a039ad7ce8101fbb2 /src/post/goom/convolve_fx.c | |
parent | ea2b5508e35f5125fd65730822b30bb8895ad87d (diff) | |
download | xine-lib-d654aee31f58dd481ded257d89d0ee293b68661f.tar.gz xine-lib-d654aee31f58dd481ded257d89d0ee293b68661f.tar.bz2 |
Memory access fixes:
- goom initialization
- matroska playing recent files with AAC
- replace free() by ffmpeg's av_free() in ff decoders
Diffstat (limited to 'src/post/goom/convolve_fx.c')
-rw-r--r-- | src/post/goom/convolve_fx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |