From: Jaroslav Kysela Date: Thu, 14 Feb 2019 12:44:52 +0000 (+0100) Subject: mpegts input: fix the compilation error, fixes #5492 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5348f2e8faaf03ce618e032c28a31deb9abb3d6b;p=thirdparty%2Ftvheadend.git mpegts input: fix the compilation error, fixes #5492 --- diff --git a/src/input/mpegts/mpegts_input.c b/src/input/mpegts/mpegts_input.c index e7e1846e8..66e063108 100644 --- a/src/input/mpegts/mpegts_input.c +++ b/src/input/mpegts/mpegts_input.c @@ -473,7 +473,7 @@ int mpegts_mps_cmp ( mpegts_pid_sub_t *a, mpegts_pid_sub_t *b ) { const int mask = MPS_SERVICE; - if ((a->mps_type & mask) != (b->mps_type & mask)) { + if ((a->mps_type & mask) != (b->mps_type & mask)) return (a->mps_type & mask) ? 1 : -1; if (a->mps_owner < b->mps_owner) return -1; if (a->mps_owner > b->mps_owner) return 1;