Mercurial > mplayer.hg
annotate mpbswap.h @ 30072:e86cf531b110
Restore the old value of planes[1] in vf_palette at the end to ensure
we do not call free() on the fixed gray_pal array.
author | reimar |
---|---|
date | Sat, 26 Dec 2009 11:11:41 +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 */ |