view dvdread/bswap.h @ 27128:adcb33e3d155

r26863: make use of the new MGA_VID_VERSION ioctl to check r26900: Fix typo in string name. r26901: mga_vid string wording fix r26911: mga_vid driver wording fixes r27063: Move message about which adapter is used to verbose mode.
author kraymer
date Mon, 30 Jun 2008 12:39:39 +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