summaryrefslogtreecommitdiff
path: root/libavcodec/ptx.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-26 12:20:04 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-26 12:20:04 +0000
commit63613fe615160671b394a232c1a3736319a6a8ec (patch)
tree4e85211d5388b91b47facca7700512abdd36446d /libavcodec/ptx.c
parent84c04e25196a59694abec3ae17af476994bc5ce8 (diff)
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
Originally committed as revision 19508 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 f8bbca718a..f5aa601cde 100644
--- a/libavcodec/ptx.c
+++ b/libavcodec/ptx.c
@@ -79,7 +79,7 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
stride = p->linesize[0];
for (y=0; y<h; y++) {
-#ifdef WORDS_BIGENDIAN
+#if HAVE_BIGENDIAN
unsigned int x;
for (x=0; x<w*bytes_per_pixel; x+=bytes_per_pixel)
AV_WN16(ptr+x, AV_RL16(buf+x));