Commit 84c824b9 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

gst/audioconvert/gstaudioconvert.c: Initalize the AudioConvertCtx with zeroes,...

gst/audioconvert/gstaudioconvert.c: Initalize the AudioConvertCtx with zeroes, otherwise it will contain pointers to ...

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init):
Initalize the AudioConvertCtx with zeroes, otherwise it will contain
pointers to random memory which are passed to g_free() when
audio_convert_prepare_context() is called the first time.
parent 37a334dd
2007-04-24 Sebastian Dröge <slomo@circular-chaos.org>
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init):
Initalize the AudioConvertCtx with zeroes, otherwise it will contain
pointers to random memory which are passed to g_free() when
audio_convert_prepare_context() is called the first time.
2007-04-24 Tim-Philipp Müller <tim at centricular dot net>
 
Patch by: Dan Williams <dcbw redhat com>
......@@ -226,6 +226,7 @@ gst_audio_convert_class_init (GstAudioConvertClass * klass)
static void
gst_audio_convert_init (GstAudioConvert * this, GstAudioConvertClass * g_class)
{
memset (&this->ctx, 0, sizeof (AudioConvertCtx));
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment