Mercurial > mplayer.hg
annotate dvdread/bswap.h @ 26880:60e75a146f45
Disable unused function, fixes the warning:
tdfx_vid.c:292: warning: 'setup_fifo' defined but not used
author | diego |
---|---|
date | Wed, 28 May 2008 10:34:03 +0000 |
parents | f20a11161e62 |
children |
rev | line source |
---|---|
24080
97a8394bec58
Replace dvdread bswap.h by something more sane for us.
reimar
parents:
24065
diff
changeset
|
1 #ifndef DVDREAD_BSWAP_H |
97a8394bec58
Replace dvdread bswap.h by something more sane for us.
reimar
parents:
24065
diff
changeset
|
2 #define DVDREAD_BSWAP_H |
97a8394bec58
Replace dvdread bswap.h by something more sane for us.
reimar
parents:
24065
diff
changeset
|
3 |
26544 | 4 #include "libavutil/bswap.h" |
7029 | 5 |
24080
97a8394bec58
Replace dvdread bswap.h by something more sane for us.
reimar
parents:
24065
diff
changeset
|
6 #ifdef WORDS_BIGENDIAN |
97a8394bec58
Replace dvdread bswap.h by something more sane for us.
reimar
parents:
24065
diff
changeset
|
7 #define B2N_16(x) |
97a8394bec58
Replace dvdread bswap.h by something more sane for us.
reimar
parents:
24065
diff
changeset
|
8 #define B2N_32(x) |
97a8394bec58
Replace dvdread bswap.h by something more sane for us.
reimar
parents:
24065
diff
changeset
|
9 #define B2N_64(x) |
97a8394bec58
Replace dvdread bswap.h by something more sane for us.
reimar
parents:
24065
diff
changeset
|
10 #else |
7029 | 11 #define B2N_16(x) x = bswap_16(x) |
12 #define B2N_32(x) x = bswap_32(x) | |
13 #define B2N_64(x) x = bswap_64(x) | |
24065 | 14 #endif |
15 | |
7029 | 16 #endif |