view dvdread/bswap.h @ 27358:e736897cf006

Fix a misleading section in the libavcodec options manual indicating that a rc_eq of 1 will return a CBR encode and a rc_eq of tex a const QP encode; likewise for qcomp. patch by tripp, eliared yahoo com
author diego
date Fri, 01 Aug 2008 18:10:01 +0000
parents f20a11161e62
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