/* If it was, we only check the data_size. This is the amount of valid data at
* the beginning of the subbuffer. */
valid_length = header->data_size;
/* If it was, we only check the data_size. This is the amount of valid data at
* the beginning of the subbuffer. */
valid_length = header->data_size;