view dvdread/bswap.h @ 24573:6815406607cf

Fix building without network. When _network=='no' then _nemesi, _live and _native_rtsp would keep their default values, in the the case of _native_rtsp this happens to be 'yes'. Clearing them also produces nicer output.
author iive
date Sat, 22 Sep 2007 16:14:20 +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