mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 19:18:31 +00:00
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
This commit is contained in:
parent
8afe1aa8e9
commit
e0e93cd3d1
1 changed files with 3 additions and 2 deletions
|
@ -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