view dvdread/bswap.h @ 26072:99bc12329d38

configure: define ENABLE_ENCODERS for FFmpeg Compilation was broken as FFmpeg's dsputil_mmx.c now (ab)uses this variable. Fix by adding "#define ENABLE_ENCODERS 1" to generated config.h.
author uau
date Tue, 26 Feb 2008 05:18:56 +0000
parents 97a8394bec58
children f20a11161e62
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