rtpasfpay: init rtp buffer fixing rtp packet creation
authorTim-Philipp Müller <tim@centricular.com>
Fri, 29 Nov 2013 13:23:40 +0000 (13:23 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 29 Nov 2013 13:23:40 +0000 (13:23 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=719553

gst/asfmux/gstrtpasfpay.c

index ae60c46..ce821fd 100644 (file)
@@ -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) {