Attention is currently required from: falconia.
Patch set 2:Code-Review +1
2 comments:
File src/trau/trau_rtp_conv.c:
if (xc_bits[i])
sum++;
Can we do `sum += xc_bits[i]` here? Theoretically, this should be better in terms of performance. But we need to be sure that `xc_bits[i]` is either 0 or 1, otherwise the logic is wrong. Alternatively: `sum += (xc_bits[i] > 0)`.
Patch Set #2, Line 669: tf->xc_bits[0] = 0;
cosmetic: maybe use designated initializers to make it shorter / more readable?
```
if (osmo_hr_check_sid(data, data_len))
tf->xc_bits = { [3] = 1 };
else
tf->xc_bits = { [5] = 1 };
```
Not critical, you can keep it as-is.
To view, visit change 37287. To unsubscribe, or for help writing mail filters, visit settings.