]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
descrambler: fix constcw table init
authorJaroslav Kysela <perex@perex.cz>
Wed, 18 Nov 2015 16:30:14 +0000 (17:30 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 18 Nov 2015 16:30:14 +0000 (17:30 +0100)
src/descrambler/descrambler.c

index aebb0654d92d7f0e693480e98eeb69f5b57eb92f..45b91d961f1a057065635a10cb3372d7cc547478 100644 (file)
@@ -175,6 +175,7 @@ descrambler_init ( void )
       if (quick_ecm_table)
         quick_ecm_table[idx] = 0;
     }
+    idx = 0;
     if ((q = htsmsg_get_list(c, "const_cw")) != NULL) {
       HTSMSG_FOREACH(f, q) {
         if (!(e = htsmsg_field_get_map(f))) continue;