diff ptx.c @ 9985:266bf83f634d libavcodec

Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
author mru
date Sun, 26 Jul 2009 12:20:04 +0000
parents 7d851240d479
children 8a4984c5cacc
line wrap: on
line diff
--- a/ptx.c	Fri Jul 24 21:28:44 2009 +0000
+++ b/ptx.c	Sun Jul 26 12:20:04 2009 +0000
@@ -79,7 +79,7 @@
     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));