summaryrefslogtreecommitdiff
path: root/libavcodec/ptx.c
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2007-08-09 17:01:15 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2007-08-09 17:01:15 +0000
commit905694d96e9fe18298b1484946ce5966c64d1177 (patch)
tree734237e9b4c547fbb85decb66d9d0758607f535a /libavcodec/ptx.c
parent5c2198b1841fa451ace272128966a3facc8932ea (diff)
* renaming (ST|LD)(16|32|64) -> AV_(R|W)N(16|32|64)
Originally committed as revision 10023 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ptx.c')
-rw-r--r--libavcodec/ptx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c
index 1fcb2fcd7b..448f398dfb 100644
--- a/libavcodec/ptx.c
+++ b/libavcodec/ptx.c
@@ -81,7 +81,7 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
#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