mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
tests: fix more unit tests
This commit is contained in:
parent
fa48483c46
commit
dd3cba7982
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue