From: Thomas Vander Stichele Date: Thu, 1 Jun 2006 11:13:44 +0000 (+0000) Subject: libs/gst/dataprotocol/dataprotocol.c: make sure we zero the whole ABI-compatible... X-Git-Tag: RELEASE-0_10_7~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2893818bb30541737087685ed34d7350d1e6abce;p=platform%2Fupstream%2Fgstreamer.git libs/gst/dataprotocol/dataprotocol.c: make sure we zero the whole ABI-compatible area Original commit message from CVS: * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_header_from_buffer): make sure we zero the whole ABI-compatible area --- diff --git a/ChangeLog b/ChangeLog index 9a6a96f..d9f2905 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-06-01 Thomas Vander Stichele + + * libs/gst/dataprotocol/dataprotocol.c: + (gst_dp_header_from_buffer): + make sure we zero the whole ABI-compatible area + 2006-06-01 Wim Taymans Patch by: Alessandro Decina diff --git a/libs/gst/dataprotocol/dataprotocol.c b/libs/gst/dataprotocol/dataprotocol.c index a6d5817..6d06246 100644 --- a/libs/gst/dataprotocol/dataprotocol.c +++ b/libs/gst/dataprotocol/dataprotocol.c @@ -196,8 +196,9 @@ gst_dp_header_from_buffer (const GstBuffer * buffer, GstDPHeaderFlag flags, GST_WRITE_UINT16_BE (h + 42, GST_BUFFER_FLAGS (buffer) & flags_mask); /* ABI padding */ - GST_WRITE_UINT32_BE (h + 44, (guint64) 0); - GST_WRITE_UINT64_BE (h + 48, (guint64) 0); + GST_WRITE_UINT64_BE (h + 44, (guint64) 0); + GST_WRITE_UINT32_BE (h + 52, (guint32) 0); + GST_WRITE_UINT16_BE (h + 56, (guint16) 0); /* CRC */ crc = 0;