]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
fix for small error in code zigzag found 442/head
authorGary The Brown <djfreakwenc@gmail.com>
Mon, 4 Aug 2014 17:55:23 +0000 (18:55 +0100)
committerGary The Brown <djfreakwenc@gmail.com>
Mon, 4 Aug 2014 17:55:23 +0000 (18:55 +0100)
src/input/mpegts/linuxdvb/linuxdvb_rotor.c

index 43ceeda0fb58fc1063a331b3b1ee49e75d54bfa1..fdad1c4f667789f75b459126a8c90fc2eb9ac31c 100644 (file)
@@ -135,7 +135,7 @@ linuxdvb_rotor_grace
 {
   linuxdvb_rotor_t *lr = (linuxdvb_rotor_t*)ld;
 
-  if (!ld->ld_satconf->lse_parent->ls_orbital_dir || lr->lr_rate != 0)
+  if (!ld->ld_satconf->lse_parent->ls_orbital_dir || lr->lr_rate == 0)
     return 120;
 
   int curpos = ld->ld_satconf->lse_parent->ls_orbital_pos;