[MPlayer-cvslog] r20479 - trunk/libmpdemux/demux_ts.c

nicodvb subversion at mplayerhq.hu
Sat Oct 28 10:56:44 CEST 2006


Author: nicodvb
Date: Sat Oct 28 10:56:44 2006
New Revision: 20479

Modified:
   trunk/libmpdemux/demux_ts.c

Log:
removed commented crc32 code; I'll eventualy reuse the one in lavu

Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c	(original)
+++ trunk/libmpdemux/demux_ts.c	Sat Oct 28 10:56:44 2006
@@ -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;



More information about the MPlayer-cvslog mailing list