Mercurial > libavcodec.hg
diff 8bps.c @ 12128:ee740a4e80c5 libavcodec
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 | 7dd2a45249a9 |
children | 8b28e74de2c0 |
line wrap: on
line diff
--- a/8bps.c Sat Jul 10 14:36:53 2010 +0000 +++ b/8bps.c Sat Jul 10 22:09:01 2010 +0000 @@ -100,7 +100,7 @@ for(row = 0; row < height; row++) { pixptr = c->pic.data[0] + row * c->pic.linesize[0] + planemap[p]; pixptr_end = pixptr + c->pic.linesize[0]; - dlen = be2me_16(*(const unsigned short *)(lp+row*2)); + dlen = be2ne_16(*(const unsigned short *)(lp+row*2)); /* Decode a row of this plane */ while(dlen > 0) { if(dp + 1 >= buf+buf_size) return -1;