diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2006-06-01 11:13:44 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-09-11 01:54:38 +0100 |
commit | 25b5f087452569918ca44b38da5bffc095e1f72b (patch) | |
tree | 6fe67b7f8b2ec2c84956138fbf5d0f4013011cb6 /gst/gdp/dataprotocol.c | |
parent | c1b82e3cda25f019161dbcb27349639ea67716ef (diff) |
gdp: 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
Diffstat (limited to 'gst/gdp/dataprotocol.c')
-rw-r--r-- | gst/gdp/dataprotocol.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/gdp/dataprotocol.c b/gst/gdp/dataprotocol.c index 4620064c1..ef35a13b8 100644 --- a/gst/gdp/dataprotocol.c +++ b/gst/gdp/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; |