summaryrefslogtreecommitdiff
path: root/include/xine/xine_plugin.h
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-05 00:44:49 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-05 00:44:49 +0100
commitc81c9deccc79646bd7ac3f1759a4a3e4fb8a88af (patch)
treeb39027bf19757a904f9d306085d8744046f24a1f /include/xine/xine_plugin.h
parent119076c9300e2e2a816dc1a6ca32ba77f338b20c (diff)
parenta2a95425350da93551388acdca8a00818a34c317 (diff)
downloadxine-lib-c81c9deccc79646bd7ac3f1759a4a3e4fb8a88af.tar.gz
xine-lib-c81c9deccc79646bd7ac3f1759a4a3e4fb8a88af.tar.bz2
Merge from 1.2.
Diffstat (limited to 'include/xine/xine_plugin.h')
-rw-r--r--include/xine/xine_plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xine/xine_plugin.h b/include/xine/xine_plugin.h
index 74e7523e9..2939b17a9 100644
--- a/include/xine/xine_plugin.h
+++ b/include/xine/xine_plugin.h
@@ -50,7 +50,7 @@
typedef struct {
uint8_t type; /* one of the PLUGIN_* constants above */
uint8_t API; /* API version supported by this plugin */
- char *id; /* a name that identifies this plugin */
+ const char *id; /* a name that identifies this plugin */
uint32_t version; /* version number, increased every release */
const void *special_info; /* plugin-type specific, see structs below */
void *(*init)(xine_t *, void *); /* init the plugin class */
@@ -70,7 +70,7 @@ typedef struct {
/* special_info for a decoder plugin */
typedef struct {
- uint32_t *supported_types; /* streamtypes this decoder can handle */
+ const uint32_t *supported_types; /* streamtypes this decoder can handle */
int priority;
} decoder_info_t;