projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8afe1aa
)
gdp: make sure we zero the whole ABI-compatible area
author
Thomas Vander Stichele
<thomas@apestaart.org>
Thu, 1 Jun 2006 11:13:44 +0000
(11:13 +0000)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Sun, 25 Dec 2011 22:49:58 +0000
(22:49 +0000)
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer):
make sure we zero the whole ABI-compatible area
gst/gdp/dataprotocol.c
patch
|
blob
|
history
diff --git
a/gst/gdp/dataprotocol.c
b/gst/gdp/dataprotocol.c
index 4620064c19ae95388bdf2427fd70bb637c562305..ef35a13b8c1fe9b62039fb22dc5eb5e7ff8486cf 100644
(file)
--- 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;