diff options
Diffstat (limited to 'libsi')
-rw-r--r-- | libsi/si.h | 4 | ||||
-rw-r--r-- | libsi/util.h | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -6,7 +6,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: si.h 2.0 2007/04/22 13:32:09 kls Exp $ + * $Id: si.h 2.1 2008/09/06 12:44:06 kls Exp $ * * ***************************************************************************/ @@ -28,7 +28,7 @@ enum TableId { TableIdPAT = 0x00, //program association section TableIdNIT_other = 0x41, //network information section, other network TableIdSDT = 0x42, //service description section TableIdSDT_other = 0x46, - TableIdBAT = 0x46, //bouquet association section + TableIdBAT = 0x4A, //bouquet association section TableIdEIT_presentFollowing = 0x4E, //event information section TableIdEIT_presentFollowing_other = 0x4F, //range from 0x50 to 0x5F diff --git a/libsi/util.h b/libsi/util.h index b030080..4862672 100644 --- a/libsi/util.h +++ b/libsi/util.h @@ -6,7 +6,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: util.h 2.0 2006/02/25 10:13:28 kls Exp $ + * $Id: util.h 2.1 2008/05/22 10:49:08 kls Exp $ * * ***************************************************************************/ @@ -148,9 +148,9 @@ public: CRC32(const char *d, int len, u_int32_t CRCvalue=0xFFFFFFFF); bool isValid() { return crc32(data, length, value) == 0; } static bool isValid(const char *d, int len, u_int32_t CRCvalue=0xFFFFFFFF) { return crc32(d, len, CRCvalue) == 0; } + static u_int32_t crc32(const char *d, int len, u_int32_t CRCvalue); protected: static u_int32_t crc_table[256]; - static u_int32_t crc32 (const char *d, int len, u_int32_t CRCvalue); const char *data; int length; |