mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-01 13:03:52 +08:00
Add av_ prefix to bswap macros
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -74,7 +74,7 @@ static void mpegts_write_section(MpegTSSection *s, uint8_t *buf, int len)
|
||||
unsigned char *q;
|
||||
int first, b, len1, left;
|
||||
|
||||
crc = bswap_32(av_crc(av_crc_get_table(AV_CRC_32_IEEE), -1, buf, len - 4));
|
||||
crc = av_bswap32(av_crc(av_crc_get_table(AV_CRC_32_IEEE), -1, buf, len - 4));
|
||||
buf[len - 4] = (crc >> 24) & 0xff;
|
||||
buf[len - 3] = (crc >> 16) & 0xff;
|
||||
buf[len - 2] = (crc >> 8) & 0xff;
|
||||
|
||||
Reference in New Issue
Block a user