mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
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
This commit is contained in:
parent
d37656cf8d
commit
2893818bb3
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* libs/gst/dataprotocol/dataprotocol.c:
|
||||
(gst_dp_header_from_buffer):
|
||||
make sure we zero the whole ABI-compatible area
|
||||
|
||||
2006-06-01 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
Patch by: Alessandro Decina <alessandro at nnva dot org>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue