view dvdread/bswap.h @ 27370:14c5017f40d2

Change a bunch of video/audio-output-specific preprocessor directives from a HAVE_ prefix to a CONFIG_ prefix.
author diego
date Sun, 03 Aug 2008 15:21:40 +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