]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
satip client: fix the wrong ATSCT- length for strncmp, too
authorJaroslav Kysela <perex@perex.cz>
Thu, 11 May 2017 07:06:21 +0000 (09:06 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 12 May 2017 19:45:16 +0000 (21:45 +0200)
src/input/mpegts/satip/satip.c

index e611b613934675b6ce152ce5e5cd4c6c51f69a7e..f468981fe4956fbd2ee81df2b0b80e7a541eab6f 100644 (file)
@@ -682,7 +682,7 @@ satip_device_create( satip_device_info_t *info )
     } else if (strncmp(argv[i], "DVBC-", 5) == 0) {
       type = DVB_TYPE_C;
       m = atoi(argv[i] + 5);
-    } else if (strncmp(argv[i], "ATSCT-", 5) == 0) {
+    } else if (strncmp(argv[i], "ATSCT-", 6) == 0) {
       type = DVB_TYPE_ATSC_T;
       m = atoi(argv[i] + 6);
     } else if (strncmp(argv[i], "ATSCC-", 6) == 0) {