diff options
author | Robin KAY <komadori@users.sourceforge.net> | 2002-10-05 21:09:18 +0000 |
---|---|---|
committer | Robin KAY <komadori@users.sourceforge.net> | 2002-10-05 21:09:18 +0000 |
commit | d74a5945bda0bcdba7797a7d84a2910710c489d5 (patch) | |
tree | d9c877de4e3121cc6698bf3dba3dcb060cb7acef /src/demuxers/demux_film.c | |
parent | eac25620909bff27249d602188d743497be1e954 (diff) | |
download | xine-lib-d74a5945bda0bcdba7797a7d84a2910710c489d5.tar.gz xine-lib-d74a5945bda0bcdba7797a7d84a2910710c489d5.tar.bz2 |
Backing out changes to endian translation macros
CVS patchset: 2788
CVS date: 2002/10/05 21:09:18
Diffstat (limited to 'src/demuxers/demux_film.c')
-rw-r--r-- | src/demuxers/demux_film.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_film.c b/src/demuxers/demux_film.c index 85c41447a..6ee537650 100644 --- a/src/demuxers/demux_film.c +++ b/src/demuxers/demux_film.c @@ -21,7 +21,7 @@ * For more information on the FILM file format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: demux_film.c,v 1.30 2002/10/05 17:05:58 tmmm Exp $ + * $Id: demux_film.c,v 1.31 2002/10/05 21:09:18 komadori Exp $ */ #ifdef HAVE_CONFIG_H @@ -41,8 +41,8 @@ #include "demux.h" #include "bswap.h" -#define BE_16(x) (be2me_16(*(uint16_t *)(x))) -#define BE_32(x) (be2me_32(*(uint32_t *)(x))) +#define BE_16(x) (be2me_16(*(unsigned short *)(x))) +#define BE_32(x) (be2me_32(*(unsigned int *)(x))) #define FOURCC_TAG( ch0, ch1, ch2, ch3 ) \ ( (long)(unsigned char)(ch3) | ( (long)(unsigned char)(ch2) << 8 ) | \ |