rtpssrcdemux: Fix compiler warning when compiling with G_DISABLE_ASSERT
authorSebastian Dröge <sebastian@centricular.com>
Sun, 29 Jun 2014 17:59:53 +0000 (19:59 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 29 Jun 2014 17:59:53 +0000 (19:59 +0200)
gst/rtpmanager/gstrtpssrcdemux.c

index 5395567..0f4b23c 100644 (file)
@@ -215,7 +215,7 @@ forward_initial_events (GstRtpSsrcDemux * demux, guint32 ssrc, GstPad * pad,
     PadType padtype)
 {
   struct ForwardStickyEventData fdata;
-  GstPad *sinkpad;
+  GstPad *sinkpad = NULL;
 
   if (padtype == RTP_PAD)
     sinkpad = demux->rtp_sink;