Mercurial > libavformat.hg
diff mpegtsenc.c @ 6248:e630da0f5861 libavformat
Add av_ prefix to bswap macros
author | mru |
---|---|
date | Sat, 10 Jul 2010 22:12:30 +0000 |
parents | 17483b8b01e7 |
children | 50b1c5de4b71 |
line wrap: on
line diff
--- a/mpegtsenc.c Sat Jul 10 22:09:01 2010 +0000 +++ b/mpegtsenc.c Sat Jul 10 22:12:30 2010 +0000 @@ -74,7 +74,7 @@ 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;