annotate libmpcodecs/mpc_info.h @ 29269:4d9de809b174

Add a hack to detect when we are writing into a Windows pipe since the fseek incorrectly does not fail like it should. This ensures we will not incorrectly append the file header at the end. Based on patch by Zhou Zongyi [zhouzongyi at pset.suntec.net]
author reimar
date Sat, 16 May 2009 13:59:53 +0000
parents 4129c8cfa742
children bbb6ebec87a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25869
diff changeset
1 #ifndef MPLAYER_MPC_INFO_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25869
diff changeset
2 #define MPLAYER_MPC_INFO_H
5323
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
3
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
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25869
diff changeset
25 #endif /* MPLAYER_MPC_INFO_H */