summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-04-27 14:46:14 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-04-27 14:46:14 +0200
commita804b990fe9541b2553dba4be4efab620a94e991 (patch)
tree70b0a12a05832514634c41a20451c37de37cafec /eit.c
parent3874eab49bfc8b73ebdf02ca702ee8bf0983adff (diff)
downloadvdr-69ce55e29b28f8ffaa4478239821b36b2a3e0ca9.tar.gz
vdr-69ce55e29b28f8ffaa4478239821b36b2a3e0ca9.tar.bz2
Fixed faulty calculation of section length1.1.29
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eit.c b/eit.c
index 242b51bd..9b2442cc 100644
--- a/eit.c
+++ b/eit.c
@@ -16,7 +16,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: eit.c 1.73 2003/04/25 14:45:32 kls Exp $
+ * $Id: eit.c 1.74 2003/04/27 14:41:36 kls Exp $
***************************************************************************/
#include "eit.h"
@@ -1232,7 +1232,7 @@ void cSIProcessor::Action()
int r = safe_read(filters[a].handle, buf, sizeof(buf));
if (r > 3) // minimum number of bytes necessary to get section length
{
- int seclen = ((buf[1] & 0x0F) << 8) | (buf[2] & 0xFF) + 3;
+ int seclen = (((buf[1] & 0x0F) << 8) | (buf[2] & 0xFF)) + 3;
int pid = filters[a].pid;
if (seclen == r)
{