view dvdread/bswap.h @ 24613:a1dd22567239

r21748: Reformatting round continued r21760: Directly point to the Subversion instructions. r21791: avoid a possible confusion, as suggested by Wanderer r21802: x264 is MPEG-4 AVC, not ASP r21849: fix typo
author kraymer
date Thu, 27 Sep 2007 17:45:28 +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