rtp: fix SBC payloader

Init RTP buffer on stack correctly, so mapping it works
without criticals and the payloader actually works.
This commit is contained in:
Tim-Philipp Müller 2013-03-27 22:18:34 +00:00
parent 78acb51dc8
commit 477cc51fe7

View file

@ -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;