tests: fix more unit tests

This commit is contained in:
Wim Taymans 2011-03-28 17:46:52 +02:00 committed by Tim-Philipp Müller
parent fa48483c46
commit dd3cba7982

View file

@ -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);