]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
dvbcam: fix the zero service limit handling (allow any)
authorJaroslav Kysela <perex@perex.cz>
Sun, 29 Oct 2017 14:52:47 +0000 (15:52 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 29 Oct 2017 14:52:47 +0000 (15:52 +0100)
src/descrambler/dvbcam.c

index 6b7279653b09a02ae04823994f27ed886e1b33de..e827dc2850ded7d03befea45583076ecdeb692d8 100644 (file)
@@ -289,7 +289,7 @@ dvbcam_service_start(caclient_t *cac, service_t *t)
     count++;
   }
 
-  if (dc->limit <= count)
+  if (dc->limit > 0 && dc->limit <= count)
     goto end;
 
   /* check all elementary streams for CAIDs and find CAM */