From 4e7f1633e471b2b7ccd3040e210dd12bb001af12 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 5 Apr 2011 17:26:44 +0200 Subject: [PATCH] rtpdec: reset structure before use --- gst/rtsp/gstrtpdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp/gstrtpdec.c b/gst/rtsp/gstrtpdec.c index 2b6049f36b..f488538b7c 100644 --- a/gst/rtsp/gstrtpdec.c +++ b/gst/rtsp/gstrtpdec.c @@ -464,7 +464,7 @@ gst_rtp_dec_chain_rtp (GstPad * pad, GstBuffer * buffer) GstRTPDecSession *session; guint32 ssrc; guint8 pt; - GstRTPBuffer rtp; + GstRTPBuffer rtp = { NULL, }; rtpdec = GST_RTP_DEC (GST_PAD_PARENT (pad));