From 549b7f03c8eab97cb816c92df6c09cc1799eb746 Mon Sep 17 00:00:00 2001 From: nicodvb Date: Sat, 2 Sep 2006 19:00:30 +0000 Subject: [PATCH] forgotten to pass the crc32 be2me_32() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19643 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/muxer_mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/muxer_mpeg.c b/libmpdemux/muxer_mpeg.c index 38299d98de..7de7dce93b 100644 --- a/libmpdemux/muxer_mpeg.c +++ b/libmpdemux/muxer_mpeg.c @@ -638,7 +638,7 @@ static int write_mpeg_psm(muxer_t *muxer, char *buff) *(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