annotate dvdread/bswap.h @ 24831:8fe8b0d9deec

Remove assert. Not only are they no help at all and proper checks should be added if desired, also assert.h is not included so compilation may fail.
author reimar
date Sat, 27 Oct 2007 06:47:35 +0000
parents 97a8394bec58
children f20a11161e62
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
97a8394bec58 Replace dvdread bswap.h by something more sane for us.
reimar
parents: 24065
diff changeset
4 #include "../libavutil/bswap.h"
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
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
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
11 #define B2N_16(x) x = bswap_16(x)
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
12 #define B2N_32(x) x = bswap_32(x)
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
13 #define B2N_64(x) x = bswap_64(x)
24065
b69c47dca975 Sync libdvdread with version 0.9.7.
diego
parents: 24052
diff changeset
14 #endif
b69c47dca975 Sync libdvdread with version 0.9.7.
diego
parents: 24052
diff changeset
15
7029
9db58ffbd73c importing libdvdread 0.9.3 files
arpi
parents:
diff changeset
16 #endif