mirror of https://github.com/mpv-player/mpv
forgotten to pass the crc32 be2me_32()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19643 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e6206f4e1c
commit
549b7f03c8
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue