view libdvdread/bswap.h @ 27703:3815517f49d4

Mark variation-specific interleaveBytes static. These functions are never called by themselves, the alias interleaveBytes is used instead.
author flameeyes
date Thu, 09 Oct 2008 11:11:35 +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