Ignore samples with all 0xFF bytes.
This commit is contained in:
parent
c1d05cd8ba
commit
7fbff73c6b
@ -347,7 +347,8 @@ oceanic_atom2_parser_samples_foreach (parser_t *abstract, sample_callback_t call
|
||||
parser_sample_value_t sample = {0};
|
||||
|
||||
// Ignore empty samples.
|
||||
if (array_isequal (data + offset, samplesize, 0x00)) {
|
||||
if (array_isequal (data + offset, samplesize, 0x00) ||
|
||||
array_isequal (data + offset, samplesize, 0xFF)) {
|
||||
offset += samplesize;
|
||||
continue;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user