pulsesrc: Fix compiler warning when compiling with G_DISABLE_ASSERT
authorSebastian Dröge <sebastian@centricular.com>
Sun, 29 Jun 2014 18:02:14 +0000 (20:02 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 29 Jun 2014 18:02:14 +0000 (20:02 +0200)
ext/pulse/pulsesrc.c

index 7fc54d9..95eb4b7 100644 (file)
@@ -1240,7 +1240,7 @@ gst_pulsesrc_create_stream (GstPulseSrc * pulsesrc, GstCaps ** caps,
   const pa_channel_map *m;
   GstStructure *s;
   gboolean need_channel_layout = FALSE;
-  GstAudioRingBufferSpec new_spec, *spec;
+  GstAudioRingBufferSpec new_spec, *spec = NULL;
   const gchar *name;
   int i;