rtpbuffer: add GST_RTP_BUFFER_INIT to initialize RTP buffers on the stack

Fixes build of -good.
This commit is contained in:
Tim-Philipp Müller 2011-12-09 15:03:41 +00:00
parent b950b930ae
commit 54c5cd8c3f

View file

@ -55,6 +55,8 @@ struct _GstRTPBuffer
gsize maxsize; gsize maxsize;
}; };
#define GST_RTP_BUFFER_INIT {NULL,0,NULL,0,0}
/* creating buffers */ /* creating buffers */
void gst_rtp_buffer_allocate_data (GstBuffer *buffer, guint payload_len, void gst_rtp_buffer_allocate_data (GstBuffer *buffer, guint payload_len,
guint8 pad_len, guint8 csrc_count); guint8 pad_len, guint8 csrc_count);