Mercurial > libavcodec.hg
diff ptx.c @ 5520:c16a59ef6a86 libavcodec
* renaming (ST|LD)(16|32|64) -> AV_(R|W)N(16|32|64)
author | romansh |
---|---|
date | Thu, 09 Aug 2007 17:01:15 +0000 |
parents | 2b72f9bc4f06 |
children | 4acd7b248bb8 |
line wrap: on
line diff
--- a/ptx.c Thu Aug 09 01:08:28 2007 +0000 +++ b/ptx.c Thu Aug 09 17:01:15 2007 +0000 @@ -81,7 +81,7 @@ #ifdef WORDS_BIGENDIAN unsigned int x; for (x=0; x<w*bytes_per_pixel; x+=bytes_per_pixel) - ST16(ptr+x, AV_RL16(buf+x)); + AV_WN16(ptr+x, AV_RL16(buf+x)); #else memcpy(ptr, buf, w*bytes_per_pixel); #endif