]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
fix a check
authorAndreas Öman <andreas@lonelycoder.com>
Sun, 9 Sep 2007 13:40:10 +0000 (13:40 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sun, 9 Sep 2007 13:40:10 +0000 (13:40 +0000)
pvr_rec.c

index b2437cca9e72dd533e03543da765b6d06ea416f7..820e293674ce366e84a071d4c3d50253d1cb7669 100644 (file)
--- a/pvr_rec.c
+++ b/pvr_rec.c
@@ -356,7 +356,7 @@ pvr_proc_tsb(pvr_rec_t *pvrr, struct ts_pid_head *pidlist, pvr_data_t *pd,
       
       len = 188 - 4 - adaptation_field_length;
 
-      if(len < 1)
+      if(len < 0)
        return 0;
       
       if(tsb[1] & 0x40) {