changeset 20463:c983ef46ce3e

removed commented crc32 code; I'll eventualy reuse the one in lavu
author nicodvb
date Sat, 28 Oct 2006 08:56:44 +0000
parents 548a0b532ca2
children 7b8269775ec0
files libmpdemux/demux_ts.c
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- 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;