From 477cc51fe7662055f44adf99430eb1275194ace2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 27 Mar 2013 22:18:34 +0000 Subject: [PATCH] rtp: fix SBC payloader Init RTP buffer on stack correctly, so mapping it works without criticals and the payloader actually works. --- gst/rtp/gstrtpsbcpay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtp/gstrtpsbcpay.c b/gst/rtp/gstrtpsbcpay.c index 0649629b2c..8a8f5cdaf7 100644 --- a/gst/rtp/gstrtpsbcpay.c +++ b/gst/rtp/gstrtpsbcpay.c @@ -157,7 +157,7 @@ gst_rtp_sbc_pay_set_caps (GstRTPBasePayload * payload, GstCaps * caps) static GstFlowReturn gst_rtp_sbc_pay_flush_buffers (GstRtpSBCPay * sbcpay) { - GstRTPBuffer rtp; + GstRTPBuffer rtp = GST_RTP_BUFFER_INIT; guint available; guint max_payload; GstBuffer *outbuf;