gst-plugins-base: rtp: fix initializer

Wim Taymans wtay at kemper.freedesktop.org
Mon Apr 2 02:06:09 PDT 2012


Module: gst-plugins-base
Branch: master
Commit: 6e9d28eef6f6992d6c188c3f4591b2b367e47678
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=6e9d28eef6f6992d6c188c3f4591b2b367e47678

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Mon Apr  2 11:05:38 2012 +0200

rtp: fix initializer

---

 gst-libs/gst/rtp/gstrtpbuffer.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst-libs/gst/rtp/gstrtpbuffer.h b/gst-libs/gst/rtp/gstrtpbuffer.h
index 67568fb..bc7dcdc 100644
--- a/gst-libs/gst/rtp/gstrtpbuffer.h
+++ b/gst-libs/gst/rtp/gstrtpbuffer.h
@@ -57,8 +57,8 @@ struct _GstRTPBuffer
   GstMapInfo   map[4];
 };
 
-#define GST_RTP_BUFFER_INIT { NULL, { GST_MAP_INFO_INIT, GST_MAP_INFO_INIT, \
-                                      GST_MAP_INFO_INIT, GST_MAP_INFO_INIT} }
+#define GST_RTP_BUFFER_INIT { NULL, 0, 0, { GST_MAP_INFO_INIT, GST_MAP_INFO_INIT, \
+                                            GST_MAP_INFO_INIT, GST_MAP_INFO_INIT} }
 
 /* creating buffers */
 void            gst_rtp_buffer_allocate_data         (GstBuffer *buffer, guint payload_len,



More information about the gstreamer-commits mailing list