summaryrefslogtreecommitdiffstats
path: root/libmpdemux/aviheader.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-07-26 19:53:00 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-07-26 19:53:00 +0000
commite5751ced4f16fe75f835b70e37ecf48a2032506b (patch)
tree38684770a130fa5d209776ef7413c22b7d2cec4b /libmpdemux/aviheader.h
parentc242fdbfd9242873aae85be9f841f1f3caf9633f (diff)
downloadmpv-e5751ced4f16fe75f835b70e37ecf48a2032506b.tar.bz2
mpv-e5751ced4f16fe75f835b70e37ecf48a2032506b.tar.xz
Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
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); \