Mercurial > libavformat.hg
diff sol.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 | 536e5527c1e0 |
| children | e630da0f5861 |
line wrap: on
line diff
--- a/sol.c Fri Jul 09 12:14:33 2010 +0000 +++ b/sol.c Sat Jul 10 22:09:01 2010 +0000 @@ -34,7 +34,7 @@ { /* check file header */ uint16_t magic; - magic=le2me_16(*((uint16_t*)p->buf)); + magic=le2ne_16(*((uint16_t*)p->buf)); if ((magic == 0x0B8D || magic == 0x0C0D || magic == 0x0C8D) && p->buf[2] == 'S' && p->buf[3] == 'O' && p->buf[4] == 'L' && p->buf[5] == 0)
