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=ec573f1f410de862d667122e37537807f925b6a4;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 df5ab18c7..0bb4c22df 100644 --- a/src/input/mpegts/mpegts_input.c +++ b/src/input/mpegts/mpegts_input.c @@ -465,7 +465,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;