playsink: Initialize variable to silence wrong compiler warning
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 9 May 2012 10:03:26 +0000 (12:03 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 9 May 2012 10:03:44 +0000 (12:03 +0200)
gst/playback/gstplaysink.c

index 3ad7836..f28d41f 100644 (file)
@@ -3511,7 +3511,8 @@ void
 gst_play_sink_refresh_pad (GstPlaySink * playsink, GstPad * pad,
     GstPlaySinkType type)
 {
-  gulong *block_id;
+  gulong *block_id = NULL;
+
   GST_DEBUG_OBJECT (playsink, "refresh pad %" GST_PTR_FORMAT, pad);
 
   GST_PLAY_SINK_LOCK (playsink);