slomo gst-plugins-good: gst-plugins-good/ gst-plugins-good/gst/spectrum/

[email protected] Thu, 15 Jan 2009 03:40:38 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
--===============2642683260269006015==

CVS Root:       /cvs/gstreamer
Module:         gst-plugins-good
Changes by:     slomo
Date:           Thu Jan 15 2009  11:40:38 UTC

Log message:
* gst/spectrum/gstspectrum.c: (gst_spectrum_reset_state):
Don't call gst_fft_f32_free() with NULL to prevent a
crash. Fixes bug #567642.

Modified files:
    .               : ChangeLog
    gst/spectrum    : gstspectrum.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ChangeLog.diff?r1=1.3899&r2=1.3900
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/spectrum/gstspectrum.c.diff?r1=1.52&r2=1.53

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/ChangeLog,v
retrieving revision 1.3899
retrieving revision 1.3900
diff -u -d -r1.3899 -r1.3900
--- ChangeLog	14 Jan 2009 15:44:15 -0000	1.3899
+++ ChangeLog	15 Jan 2009 11:40:22 -0000	1.3900
@@ -1,3 +1,9 @@
+2009-01-15  Sebastian Dröge  <[email protected]>
+
+	* gst/spectrum/gstspectrum.c: (gst_spectrum_reset_state):
+	Don't call gst_fft_f32_free() with NULL to prevent a
+	crash. Fixes bug #567642.
 2009-01-14  Sebastian Dröge  <[email protected]>
 
 	* gst/spectrum/gstspectrum.c: (gst_spectrum_transform_ip):
Index: gstspectrum.c
RCS file: /cvs/gstreamer/gst-plugins-good/gst/spectrum/gstspectrum.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- gstspectrum.c	14 Jan 2009 15:44:18 -0000	1.52
+++ gstspectrum.c	15 Jan 2009 11:40:23 -0000	1.53
@@ -261,7 +261,8 @@
 static void
 gst_spectrum_reset_state (GstSpectrum * spectrum)
 {
-  gst_fft_f32_free (spectrum->fft_ctx);
+  if (spectrum->fft_ctx)
+    gst_fft_f32_free (spectrum->fft_ctx);
   g_free (spectrum->input);
   g_free (spectrum->input_tmp);
   g_free (spectrum->freqdata);


--===============2642683260269006015==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
--===============2642683260269006015==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gstreamer-cvs-verbose mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose

--===============2642683260269006015==--