fix a check

This commit is contained in:
Andreas Öman 2007-09-09 13:40:10 +00:00
parent 4fe066aa90
commit 31933ebfa1

View file

@ -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) {