tests: fix more unit tests
This commit is contained in:
parent
fa48483c46
commit
dd3cba7982
@ -505,6 +505,7 @@ GST_START_TEST (test_crc)
|
|||||||
|
|
||||||
/* verify the header checksum */
|
/* verify the header checksum */
|
||||||
/* CRC's start at 58 in the header */
|
/* CRC's start at 58 in the header */
|
||||||
|
outbuffer = gst_buffer_make_writable (outbuffer);
|
||||||
data = gst_buffer_map (outbuffer, &size, NULL, GST_MAP_READWRITE);
|
data = gst_buffer_map (outbuffer, &size, NULL, GST_MAP_READWRITE);
|
||||||
crc_calculated = gst_dp_crc (data, 58);
|
crc_calculated = gst_dp_crc (data, 58);
|
||||||
crc_read = GST_READ_UINT16_BE (data + 58);
|
crc_read = GST_READ_UINT16_BE (data + 58);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user