view dvdread/bswap.h @ 25588:0f344d22ee48

Fix compilation due to conflicting type declaration: qtx/list.c:22: error: conflicting types for 'OSErr' qtx/qtxsdk/components.h:15: error: previous declaration of 'OSErr' was here
author diego
date Sun, 06 Jan 2008 11:45:47 +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