]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
satip server: fix ATSC-T / Annex B cable frequency parsing, fixes #5447
authorJaroslav Kysela <perex@perex.cz>
Thu, 20 Dec 2018 19:32:33 +0000 (20:32 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 20 Dec 2018 19:32:48 +0000 (20:32 +0100)
src/satip/rtsp.c

index 1cd905d0c7025ce20e9d8fa70ff2b97aabbc6244..6e9bc16c5a64e76c43b5dd6a892131bfba5338b2 100644 (file)
@@ -1139,6 +1139,8 @@ rtsp_parse_cmd
 
   } else if (msys == DVB_SYS_ATSC || msys == DVB_SYS_DVBC_ANNEX_B) {
 
+    freq *= 1000;
+    if (freq < 0) goto end;
     if (!TAILQ_EMPTY(&hc->hc_req_args)) goto eargs;
 
   } else {