view libdvdread/bswap.h @ 27896:4c2232462353

100l, stream->cache_pid can not be used directly in pthread_create, it has the wrong type. Luckily we currently do not need the value anyway.
author reimar
date Sat, 15 Nov 2008 19:43:39 +0000
parents ea01824701a5
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