diff libmpdemux/aviheader.h @ 29401:f01023c524c3

Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
author diego
date Sun, 26 Jul 2009 19:53:00 +0000
parents 0f1b5b68af32
children a90c7676bf0e
line wrap: on
line diff
--- a/libmpdemux/aviheader.h	Sun Jul 26 19:38:22 2009 +0000
+++ b/libmpdemux/aviheader.h	Sun Jul 26 19:53:00 2009 +0000
@@ -21,7 +21,7 @@
 
 #include <sys/types.h>
 #include <stdint.h>
-#include "config.h"	/* get correct definition of WORDS_BIGENDIAN */
+#include "config.h"	/* get correct definition of HAVE_BIGENDIAN */
 #include "libavutil/common.h"
 #include "mpbswap.h"
 
@@ -227,7 +227,7 @@
  * Some macros to swap little endian structures read from an AVI file
  * into machine endian format
  */
-#ifdef WORDS_BIGENDIAN
+#if HAVE_BIGENDIAN
 #define	le2me_MainAVIHeader(h) {					\
     (h)->dwMicroSecPerFrame = le2me_32((h)->dwMicroSecPerFrame);	\
     (h)->dwMaxBytesPerSec = le2me_32((h)->dwMaxBytesPerSec);		\