Mercurial > libavformat.hg
comparison nutdec.c @ 6247:a64b9fa63635 libavformat
bswap: change ME to NE in macro names
Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
author | mru |
---|---|
date | Sat, 10 Jul 2010 22:09:01 +0000 |
parents | 3b049f067bdd |
children | e630da0f5861 |
comparison
equal
deleted
inserted
replaced
6246:79fc252c65cd | 6247:a64b9fa63635 |
---|---|
92 static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_checksum, uint64_t startcode) | 92 static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_checksum, uint64_t startcode) |
93 { | 93 { |
94 int64_t size; | 94 int64_t size; |
95 // start= url_ftell(bc) - 8; | 95 // start= url_ftell(bc) - 8; |
96 | 96 |
97 startcode= be2me_64(startcode); | 97 startcode= be2ne_64(startcode); |
98 startcode= ff_crc04C11DB7_update(0, (uint8_t*)&startcode, 8); | 98 startcode= ff_crc04C11DB7_update(0, (uint8_t*)&startcode, 8); |
99 | 99 |
100 init_checksum(bc, ff_crc04C11DB7_update, startcode); | 100 init_checksum(bc, ff_crc04C11DB7_update, startcode); |
101 size= ff_get_v(bc); | 101 size= ff_get_v(bc); |
102 if(size > 4096) | 102 if(size > 4096) |