Attention is currently required from: pespin, msuraev.
laforge has posted comments on this change. (
https://gerrit.osmocom.org/c/libosmo-netif/+/30196 )
Change subject: osmux: Set M bit in osmuxhdr if seqnum hole found encoding RTP pkts
......................................................................
Patch Set 3: Code-Review+2
(1 comment)
File src/osmux_input.c:
https://gerrit.osmocom.org/c/libosmo-netif/+/30196/comment/0e45a0f4_b039fd30
PS3, Line 156: ((state->circuit->last_transmitted_rtp_seq + 1) & 0xffff) !=
rtp_seqnum;
sequence numbers are uint16_t in RTP. […]
I
guess max was indirectly saying "use UINT16_MAX" (probably just because it ends
in his name). More seriously, I don't think we need to worry about 0xffff being
considered a magic number. To me it's more obvious than UINT16_MAX.
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-netif/+/30196
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I05b1eae400cb60d1f4e927f853619d5ff470163f
Gerrit-Change-Number: 30196
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: msuraev <msuraev(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: msuraev <msuraev(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 19 Nov 2022 09:05:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: msuraev <msuraev(a)sysmocom.de>
Gerrit-MessageType: comment