From c292a8d56fc0531297775cf64f14190b26b9b216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sun, 23 Dec 2007 17:18:36 +0100 Subject: Mark all supported_types constant. --- src/spu_dec/cmml_decoder.c | 2 +- src/spu_dec/spu_decoder.c | 2 +- src/spu_dec/spudvb_decoder.c | 2 +- src/spu_dec/sputext_decoder.c | 2 +- src/spu_dec/xine_cc_decoder.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/spu_dec') diff --git a/src/spu_dec/cmml_decoder.c b/src/spu_dec/cmml_decoder.c index a6d79c6d6..e63dc561d 100644 --- a/src/spu_dec/cmml_decoder.c +++ b/src/spu_dec/cmml_decoder.c @@ -522,7 +522,7 @@ static void *init_spu_decoder_plugin (xine_t *xine, void *data) { /* plugin catalog information */ -static uint32_t supported_types[] = { BUF_SPU_CMML, 0 }; +static const uint32_t supported_types[] = { BUF_SPU_CMML, 0 }; static const decoder_info_t spudec_info = { supported_types, /* supported types */ diff --git a/src/spu_dec/spu_decoder.c b/src/spu_dec/spu_decoder.c index e36b39fc8..c4cf3ae78 100644 --- a/src/spu_dec/spu_decoder.c +++ b/src/spu_dec/spu_decoder.c @@ -367,7 +367,7 @@ static void *init_plugin (xine_t *xine, void *data) { } /* plugin catalog information */ -static uint32_t supported_types[] = { BUF_SPU_DVD, 0 }; +static const uint32_t supported_types[] = { BUF_SPU_DVD, 0 }; static const decoder_info_t dec_info_data = { supported_types, /* supported types */ diff --git a/src/spu_dec/spudvb_decoder.c b/src/spu_dec/spudvb_decoder.c index 9008260f7..331c9835d 100644 --- a/src/spu_dec/spudvb_decoder.c +++ b/src/spu_dec/spudvb_decoder.c @@ -984,7 +984,7 @@ static void *init_spu_decoder_plugin (xine_t * xine, void *data) /* plugin catalog information */ -static uint32_t supported_types[] = { BUF_SPU_DVB, 0 }; +static const uint32_t supported_types[] = { BUF_SPU_DVB, 0 }; static const decoder_info_t spudec_info = { supported_types, /* supported types */ diff --git a/src/spu_dec/sputext_decoder.c b/src/spu_dec/sputext_decoder.c index db2236097..0c156d2e9 100644 --- a/src/spu_dec/sputext_decoder.c +++ b/src/spu_dec/sputext_decoder.c @@ -978,7 +978,7 @@ static void *init_spu_decoder_plugin (xine_t *xine, void *data) { /* plugin catalog information */ -static uint32_t supported_types[] = { BUF_SPU_TEXT, BUF_SPU_OGM, 0 }; +static const uint32_t supported_types[] = { BUF_SPU_TEXT, BUF_SPU_OGM, 0 }; static const decoder_info_t spudec_info = { supported_types, /* supported types */ diff --git a/src/spu_dec/xine_cc_decoder.c b/src/spu_dec/xine_cc_decoder.c index b2750aae2..9b177deeb 100644 --- a/src/spu_dec/xine_cc_decoder.c +++ b/src/spu_dec/xine_cc_decoder.c @@ -337,7 +337,7 @@ static void *init_spu_decoder_plugin (xine_t *xine, void *data) { } /* plugin catalog information */ -static uint32_t supported_types[] = { BUF_SPU_CC, 0 }; +static const uint32_t supported_types[] = { BUF_SPU_CC, 0 }; static const decoder_info_t spudec_info = { supported_types, /* supported types */ -- cgit v1.2.3