summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_real.c
diff options
context:
space:
mode:
authorMarco Zuehlke <andruil@users.sourceforge.net>2003-11-13 15:23:00 +0000
committerMarco Zuehlke <andruil@users.sourceforge.net>2003-11-13 15:23:00 +0000
commit9ad362d2dd562ca3f15b7e9b9600db68066500ac (patch)
tree0ec4ef2c1682b3825901284d876e96df63ea16db /src/demuxers/demux_real.c
parent4f8770ab9e98698cc5f645e05fa3dd4b9f759ed6 (diff)
downloadxine-lib-9ad362d2dd562ca3f15b7e9b9600db68066500ac.tar.gz
xine-lib-9ad362d2dd562ca3f15b7e9b9600db68066500ac.tar.bz2
define FOURCC only once
CVS patchset: 5729 CVS date: 2003/11/13 15:23:00
Diffstat (limited to 'src/demuxers/demux_real.c')
-rw-r--r--src/demuxers/demux_real.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/demuxers/demux_real.c b/src/demuxers/demux_real.c
index c12c5f85f..ba2771d42 100644
--- a/src/demuxers/demux_real.c
+++ b/src/demuxers/demux_real.c
@@ -30,7 +30,7 @@
*
* Based on FFmpeg's libav/rm.c.
*
- * $Id: demux_real.c,v 1.69 2003/11/11 18:44:53 f1rmb Exp $
+ * $Id: demux_real.c,v 1.70 2003/11/13 15:23:01 andruil Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -55,12 +55,7 @@
#include "demux.h"
#include "bswap.h"
-#define FOURCC_TAG( ch0, ch1, ch2, ch3 ) \
- ( (long)(unsigned char)(ch3) | \
- ( (long)(unsigned char)(ch2) << 8 ) | \
- ( (long)(unsigned char)(ch1) << 16 ) | \
- ( (long)(unsigned char)(ch0) << 24 ) )
-
+#define FOURCC_TAG BE_FOURCC
#define RMF_TAG FOURCC_TAG('.', 'R', 'M', 'F')
#define PROP_TAG FOURCC_TAG('P', 'R', 'O', 'P')
#define MDPR_TAG FOURCC_TAG('M', 'D', 'P', 'R')