summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-03-28 17:46:52 +0200
committerTim-Philipp Müller <tim@centricular.net>2012-09-11 01:54:34 +0100
commitdd3cba7982bbc3606a6f08ac3e3b2bba3e98f80b (patch)
tree9c0eb106dfac0507d7dbd4732b631106c721815b /tests
parentfa48483c462161696636024eef81a2e4bdffca7f (diff)
tests: fix more unit tests
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/gdppay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/elements/gdppay.c b/tests/check/elements/gdppay.c
index c6e437b11..05391f105 100644
--- 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 */
+ 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);