Mercurial > mplayer.hg
comparison libmpdvdkit2/common.h @ 9333:f0f0f176d298
sync with libdvdcss 1.2.5 (including u8->uint8_t and whitespace cosmetics...)
patch by Andreas Hess <jaska@gmx.net>
author | arpi |
---|---|
date | Sat, 08 Feb 2003 00:22:39 +0000 |
parents | c9a4dfaa9868 |
children | f23c35ce0d16 |
comparison
equal
deleted
inserted
replaced
9332:a604236b0dd6 | 9333:f0f0f176d298 |
---|---|
11 * | 11 * |
12 * This program is free software; you can redistribute it and/or modify | 12 * This program is free software; you can redistribute it and/or modify |
13 * it under the terms of the GNU General Public License as published by | 13 * it under the terms of the GNU General Public License as published by |
14 * the Free Software Foundation; either version 2 of the License, or | 14 * the Free Software Foundation; either version 2 of the License, or |
15 * (at your option) any later version. | 15 * (at your option) any later version. |
16 * | 16 * |
17 * This program is distributed in the hope that it will be useful, | 17 * This program is distributed in the hope that it will be useful, |
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
20 * GNU General Public License for more details. | 20 * GNU General Public License for more details. |
21 * | 21 * |
25 *****************************************************************************/ | 25 *****************************************************************************/ |
26 | 26 |
27 /***************************************************************************** | 27 /***************************************************************************** |
28 * Basic types definitions | 28 * Basic types definitions |
29 *****************************************************************************/ | 29 *****************************************************************************/ |
30 | 30 #include <inttypes.h> |
31 /* Basic types definitions */ | |
32 typedef unsigned char u8; | |
33 typedef signed char s8; | |
34 typedef unsigned int u32; | |
35 typedef signed int s32; | |
36 | |
37 typedef u8 byte_t; | |
38 | 31 |
39 #if defined( WIN32 ) | 32 #if defined( WIN32 ) |
40 | 33 |
41 /* several type definitions */ | 34 /* several type definitions */ |
42 # if defined( __MINGW32__ ) | 35 # if defined( __MINGW32__ ) |