view dvdread/bswap.h @ 25563:1e9ef4ed8e8f

Relicense file to GPL v2 or later with the permission of Rudolf Marek, the author and update his email contact address.
author diego
date Wed, 02 Jan 2008 23:35:19 +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