rtpst2022-1-fecenc: fix input seqnum check
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 14 Oct 2020 12:30:34 +0000 (14:30 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Wed, 14 Oct 2020 12:30:34 +0000 (14:30 +0200)
commit5fb5abc8a8f1c021238562e013a171f3c9959625
tree976d749f7262c48969f18d37fed48a0006292fb4
parenta73ede42cf3489d4848d66a4d1350b7b73eff31f
rtpst2022-1-fecenc: fix input seqnum check

We need to cast the incremented last seqnum to guint16 for
consistent checks on wraparound

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/770>
gst/rtpmanager/gstrtpst2022-1-fecenc.c