view dvdread/bswap.h @ 26610:fe9343c1e5f3

Always run the GCC AltiVec test so that the correct AltiVec CFLAGS get picked up. They are needed even on machines without AltiVec for the altivec.h check.
author diego
date Thu, 01 May 2008 17:48:38 +0000
parents f20a11161e62
children
line wrap: on
line source

#ifndef DVDREAD_BSWAP_H
#define DVDREAD_BSWAP_H

#include "libavutil/bswap.h"

#ifdef WORDS_BIGENDIAN
#define B2N_16(x)
#define B2N_32(x)
#define B2N_64(x)
#else
#define B2N_16(x) x = bswap_16(x)
#define B2N_32(x) x = bswap_32(x)
#define B2N_64(x) x = bswap_64(x)
#endif

#endif