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:
fa48483
)
tests: fix more unit tests
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 28 Mar 2011 15:46:52 +0000
(17:46 +0200)
committer
Tim-Philipp Müller
<tim@centricular.net>
Tue, 11 Sep 2012 00:54:34 +0000
(
01:54
+0100)
tests/check/elements/gdppay.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/gdppay.c
b/tests/check/elements/gdppay.c
index c6e437b1156a5395a9daf743931a8e5b357e96f3..05391f1057e789678f0714ac053d46a55153a3c8 100644
(file)
--- a/
tests/check/elements/gdppay.c
+++ b/
tests/check/elements/gdppay.c
@@
-505,6
+505,7
@@
GST_START_TEST (test_crc)
/* verify the header checksum */
/* CRC's start at 58 in the header */
/* verify the header checksum */
/* CRC's start at 58 in the header */
+ outbuffer = gst_buffer_make_writable (outbuffer);
data = gst_buffer_map (outbuffer, &size, NULL, GST_MAP_READWRITE);
crc_calculated = gst_dp_crc (data, 58);
crc_read = GST_READ_UINT16_BE (data + 58);
data = gst_buffer_map (outbuffer, &size, NULL, GST_MAP_READWRITE);
crc_calculated = gst_dp_crc (data, 58);
crc_read = GST_READ_UINT16_BE (data + 58);