changeset 19637:b79f65f98553

forgotten to pass the crc32 be2me_32()
author nicodvb
date Sat, 02 Sep 2006 19:00:30 +0000
parents ff62c9c4d691
children a3473d990fed
files libmpdemux/muxer_mpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_mpeg.c	Sat Sep 02 18:33:51 2006 +0000
+++ b/libmpdemux/muxer_mpeg.c	Sat Sep 02 19:00:30 2006 +0000
@@ -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