[MPlayer-cvslog] r19643 - trunk/libmpdemux/muxer_mpeg.c

nicodvb subversion at mplayerhq.hu
Sat Sep 2 21:00:30 CEST 2006


Author: nicodvb
Date: Sat Sep  2 21:00:30 2006
New Revision: 19643

Modified:
   trunk/libmpdemux/muxer_mpeg.c

Log:
forgotten to pass the crc32 be2me_32()

Modified: trunk/libmpdemux/muxer_mpeg.c
==============================================================================
--- trunk/libmpdemux/muxer_mpeg.c	(original)
+++ trunk/libmpdemux/muxer_mpeg.c	Sat Sep  2 21:00:30 2006
@@ -638,7 +638,7 @@
 	
 	*(uint16_t *)(&buff[4]) = be2me_16(len - 6 + 4);	// length field fixed, including size of CRC32
 	
-	*(uint32_t *)(&buff[len]) = CalcCRC32(buff, len);
+	*(uint32_t *)(&buff[len]) = be2me_32(CalcCRC32(buff, len));
 	
 	len += 4;	//for crc
 	



More information about the MPlayer-cvslog mailing list