From 0c7324ad4b3e6a137c6f197e68fce339049f85a0 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 11 May 2017 09:06:21 +0200 Subject: [PATCH] satip client: fix the wrong ATSCT- length for strncmp, too --- src/input/mpegts/satip/satip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/mpegts/satip/satip.c b/src/input/mpegts/satip/satip.c index e611b6139..f468981fe 100644 --- a/src/input/mpegts/satip/satip.c +++ b/src/input/mpegts/satip/satip.c @@ -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) { -- 2.47.3