cea708overlay: fix HCR interpretation
authorMatthew Waters <matthew@centricular.com>
Thu, 9 Mar 2023 03:38:13 +0000 (14:38 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 9 Mar 2023 15:53:04 +0000 (15:53 +0000)
commitd67aa49737414b957c4a6aa09e6aeb7f1fcc199d
treeb471120186ea6622cdf705d4078d3f9dd6a33b63
parentc88dd17df764679e837ab68e8065c86f53858bfb
cea708overlay: fix HCR interpretation

An unsigned counter with a for (i = end; i >= 0; i--), can be optimized to
infinite loop as an unsigned value will always be >= 0.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4141>
subprojects/gst-plugins-bad/ext/closedcaption/gstcea708decoder.c