view dvdread/bswap.h @ 25163:4edeff353edc

r25011: a couple of tricks to improve playback resistance and usability of dvb streams r25012: small rephrasing r25016: & => &amp; r25017: wording/grammar/spelling/formatting r25119: Put colon inside replaceable tag. r25123: vcd://<n> now works for MinGW32 too, hence the updated doc r25146: Clarify playtree explanation.
author voroshil
date Wed, 28 Nov 2007 15:29:00 +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