Mercurial > mplayer.hg
annotate libmpcodecs/mpc_info.h @ 36775:666757381a27
Avoid pointer cast warnings.
Fixes "cast from pointer to integer of different size" warnings.
This is corresponding to r36858.
author | ib |
---|---|
date | Mon, 17 Feb 2014 01:28:05 +0000 |
parents | bbb6ebec87a0 |
children |
rev | line source |
---|---|
30421
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
1 /* |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
2 * This file is part of MPlayer. |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
3 * |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
4 * MPlayer is free software; you can redistribute it and/or modify |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
5 * it under the terms of the GNU General Public License as published by |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
6 * the Free Software Foundation; either version 2 of the License, or |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
7 * (at your option) any later version. |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
8 * |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
9 * MPlayer is distributed in the hope that it will be useful, |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
12 * GNU General Public License for more details. |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
13 * |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
14 * You should have received a copy of the GNU General Public License along |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
17 */ |
bbb6ebec87a0
Add missing license headers to all files in the libmpcodecs directory.
diego
parents:
26029
diff
changeset
|
18 |
26029 | 19 #ifndef MPLAYER_MPC_INFO_H |
20 #define MPLAYER_MPC_INFO_H | |
5323 | 21 |
22 typedef struct mp_codec_info_s | |
23 { | |
24 /* codec long name ("Autodesk FLI/FLC Animation decoder" */ | |
25 const char *name; | |
26 /* short name (same as driver name in codecs.conf) ("dshow") */ | |
27 const char *short_name; | |
28 /* interface author/maintainer */ | |
29 const char *maintainer; | |
30 /* codec author ("Aaron Holtzman <aholtzma@ess.engr.uvic.ca>") */ | |
31 const char *author; | |
32 /* any additional comments */ | |
33 const char *comment; | |
34 } mp_codec_info_t; | |
35 | |
36 #define CONTROL_OK 1 | |
37 #define CONTROL_TRUE 1 | |
38 #define CONTROL_FALSE 0 | |
39 #define CONTROL_UNKNOWN -1 | |
40 #define CONTROL_ERROR -2 | |
41 #define CONTROL_NA -3 | |
42 | |
26029 | 43 #endif /* MPLAYER_MPC_INFO_H */ |