diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-07-25 12:48:06 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-07-25 12:48:06 +0200 |
commit | 445af55d9fd50b3af7626fc13dfc6e5e18ae2a23 (patch) | |
tree | e75616ba25f7fd1188723aaa6459ae826c051033 /gst/realmedia | |
parent | a04d61ee6d6b1f085e028754f125c28466aaa378 (diff) |
rdt: reset map info
Diffstat (limited to 'gst/realmedia')
-rw-r--r-- | gst/realmedia/gstrdtbuffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/realmedia/gstrdtbuffer.c b/gst/realmedia/gstrdtbuffer.c index 3adf978f..40570459 100644 --- a/gst/realmedia/gstrdtbuffer.c +++ b/gst/realmedia/gstrdtbuffer.c @@ -16,6 +16,7 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ +#include <string.h> #include "gstrdtbuffer.h" @@ -205,6 +206,7 @@ gst_rdt_buffer_get_first_packet (GstBuffer * buffer, GstRDTPacket * packet) packet->buffer = buffer; packet->offset = 0; packet->type = GST_RDT_TYPE_INVALID; + memset (&packet->map, 0, sizeof (GstMapInfo)); if (!read_packet_header (packet)) return FALSE; |