Mercurial > mplayer.hg
annotate mpbswap.h @ 26234:f0788169e503
Ignore if we fail to get disc key, fixes playback of one of my DVDs which
claims to be scrambled but actually is not, and always allows to
fallback to cached keys.
author | reimar |
---|---|
date | Fri, 21 Mar 2008 12:31:47 +0000 |
parents | 0d255d03016f |
children | c1a3f1bbba26 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_MPBSWAP_H |
2 #define MPLAYER_MPBSWAP_H | |
21507
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
3 |
26131
83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
4 #include <sys/types.h> |
26203 | 5 #include "config.h" |
21507
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
6 #include "libavutil/bswap.h" |
26187 | 7 |
23639
2606b8c645de
Hide our swab prototype when the system has swab since at least the
reimar
parents:
23638
diff
changeset
|
8 #ifndef HAVE_SWAB |
23638
a81e246e3b38
Make sure we always have a swab() prototype when we use it,
reimar
parents:
21557
diff
changeset
|
9 void swab(const void *from, void *to, ssize_t n); |
23639
2606b8c645de
Hide our swab prototype when the system has swab since at least the
reimar
parents:
23638
diff
changeset
|
10 #endif |
21507
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
11 |
26029 | 12 #endif /* MPLAYER_MPBSWAP_H */ |