# HG changeset patch # User nicodvb # Date 1162025804 0 # Node ID c983ef46ce3e7257cbb8c29060803960a4582727 # Parent 548a0b532ca23137e8c27fec7955e4665c70a151 removed commented crc32 code; I'll eventualy reuse the one in lavu diff -r 548a0b532ca2 -r c983ef46ce3e libmpdemux/demux_ts.c --- a/libmpdemux/demux_ts.c Sat Oct 28 08:54:31 2006 +0000 +++ b/libmpdemux/demux_ts.c Sat Oct 28 08:56:44 2006 +0000 @@ -1518,22 +1518,6 @@ return -1; } -/* -DON'T REMOVE, I'LL NEED IT IN THE (NEAR) FUTURE) -static int check_crc32(uint32_t val, uint8_t *ptr, uint16_t len, uint8_t *vbase) -{ - uint32_t tab_crc32, calc_crc32; - - calc_crc32 = CalcCRC32(val, ptr, len); - - tab_crc32 = (vbase[0] << 24) | (vbase[1] << 16) | (vbase[2] << 8) | vbase[3]; - - printf("CRC32, TAB: %x, CALC: %x, eq: %x\n", tab_crc32, calc_crc32, tab_crc32 == calc_crc32); - return (tab_crc32 == calc_crc32); - -} -*/ - static int collect_section(ts_section_t *section, int is_start, unsigned char *buff, int size) { uint8_t *ptr;