summaryrefslogtreecommitdiffstats
path: root/libmpdemux/aviheader.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/aviheader.h')
-rw-r--r--libmpdemux/aviheader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/aviheader.h b/libmpdemux/aviheader.h
index 0dd915fc5d..a06ef711ac 100644
--- a/libmpdemux/aviheader.h
+++ b/libmpdemux/aviheader.h
@@ -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 @@ typedef enum {
* 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); \