summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2013-11-29 13:23:40 +0000
committerTim-Philipp Müller <tim@centricular.com>2013-12-12 23:42:35 +0000
commitfc1445a7328946456ec5db1d646abed43bdaca79 (patch)
treef677542c0b96b67701271f2e499ff465707f8c1f
parentbb38143d89fe9339d52114e7a31c5e1e4b08b851 (diff)
downloadgstreamer-plugins-bad-fc1445a7328946456ec5db1d646abed43bdaca79.tar.gz
rtpasfpay: init rtp buffer fixing rtp packet creation
https://bugzilla.gnome.org/show_bug.cgi?id=719553
-rw-r--r--gst/asfmux/gstrtpasfpay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/asfmux/gstrtpasfpay.c b/gst/asfmux/gstrtpasfpay.c
index ae60c46e8..ce821fd97 100644
--- a/gst/asfmux/gstrtpasfpay.c
+++ b/gst/asfmux/gstrtpasfpay.c
@@ -185,7 +185,7 @@ gst_rtp_asf_pay_handle_packet (GstRtpAsfPay * rtpasfpay, GstBuffer * buffer)
* This flag tells us to push the packet.
*/
gboolean force_push = FALSE;
- GstRTPBuffer rtp;
+ GstRTPBuffer rtp = GST_RTP_BUFFER_INIT;
/* we have no output buffer pending, create one */
if (rtpasfpay->current == NULL) {