annotate libmpcodecs/mpc_info.h @ 18671:8fb542b97815

Protect SIZE_MAX use
author rtogni
date Fri, 09 Jun 2006 23:19:13 +0000
parents 28677d779205
children 3baf6a2283da
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5323
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
1
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
2 #ifndef MP_CODEC_INFO_T
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
3 #define MP_CODEC_INFO_T
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
4 typedef struct mp_codec_info_s
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
5 {
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
6 /* codec long name ("Autodesk FLI/FLC Animation decoder" */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
7 const char *name;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
8 /* short name (same as driver name in codecs.conf) ("dshow") */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
9 const char *short_name;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
10 /* interface author/maintainer */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
11 const char *maintainer;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
12 /* codec author ("Aaron Holtzman <aholtzma@ess.engr.uvic.ca>") */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
13 const char *author;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
14 /* any additional comments */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
15 const char *comment;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
16 } mp_codec_info_t;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
17
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
18 #define CONTROL_OK 1
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
19 #define CONTROL_TRUE 1
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
20 #define CONTROL_FALSE 0
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
21 #define CONTROL_UNKNOWN -1
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
22 #define CONTROL_ERROR -2
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
23 #define CONTROL_NA -3
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
24
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
25 #endif