]> 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:33 +0000 (20:32 +0100)
src/satip/rtsp.c

index 483263d41ec19ff35b11a17260d048e7c784571f..bafe1179e54062b361dd7da4b301b64dcf138785 100644 (file)
@@ -1207,6 +1207,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 {