rtpasfpay: init rtp buffer fixing rtp packet creation

https://bugzilla.gnome.org/show_bug.cgi?id=719553
This commit is contained in:
Tim-Philipp Müller 2013-11-29 13:23:40 +00:00
parent bc7989071f
commit a27b79cbe4

View 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) {