summaryrefslogtreecommitdiff
path: root/src/libxineadec
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2006-05-03 19:46:06 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2006-05-03 19:46:06 +0000
commit1e21218596ab3eb84da7b2ec8aedd46827284b8a (patch)
tree4e73293d224c7ac9eff131af52e4747b12674ecd /src/libxineadec
parent5859b4076e5326996aa21e6fc0ce572edebec469 (diff)
downloadxine-lib-1e21218596ab3eb84da7b2ec8aedd46827284b8a.tar.gz
xine-lib-1e21218596ab3eb84da7b2ec8aedd46827284b8a.tar.bz2
Make various arrays and structures (mainly xine_plugin_info) const.
(Diego Pettenò) CVS patchset: 7985 CVS date: 2006/05/03 19:46:06
Diffstat (limited to 'src/libxineadec')
-rw-r--r--src/libxineadec/fooaudio.c4
-rw-r--r--src/libxineadec/gsm610.c4
-rw-r--r--src/libxineadec/nsf.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/libxineadec/fooaudio.c b/src/libxineadec/fooaudio.c
index 14a8eb0c9..faa8b88b4 100644
--- a/src/libxineadec/fooaudio.c
+++ b/src/libxineadec/fooaudio.c
@@ -21,7 +21,7 @@
* player. It really works too! It will output a continuous sine wave in
* place of the data it should actually send.
*
- * $Id: fooaudio.c,v 1.15 2006/03/07 08:03:21 tmattern Exp $
+ * $Id: fooaudio.c,v 1.16 2006/05/03 19:46:08 dsalt Exp $
*/
#include <stdio.h>
@@ -342,7 +342,7 @@ static decoder_info_t dec_info_audio = {
/* The plugin catalog entry. This is the only information that this plugin
* will export to the public. */
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* { type, API version, "name", version, special_info, init_function }, */
{ PLUGIN_AUDIO_DECODER, 15, "fooaudio", XINE_VERSION_CODE, &dec_info_audio, &init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libxineadec/gsm610.c b/src/libxineadec/gsm610.c
index 1a189e493..c12271142 100644
--- a/src/libxineadec/gsm610.c
+++ b/src/libxineadec/gsm610.c
@@ -44,7 +44,7 @@
* Carsten Bormann
* --------------------------------------------------------------------
*
- * $Id: gsm610.c,v 1.16 2004/12/16 13:59:12 mroi Exp $
+ * $Id: gsm610.c,v 1.17 2006/05/03 19:46:08 dsalt Exp $
*
*/
@@ -289,7 +289,7 @@ static decoder_info_t dec_info_audio = {
9 /* priority */
};
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_DECODER, 15, "gsm610", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libxineadec/nsf.c b/src/libxineadec/nsf.c
index 28ed3677f..8e6ccd1b6 100644
--- a/src/libxineadec/nsf.c
+++ b/src/libxineadec/nsf.c
@@ -20,7 +20,7 @@
* NSF Audio "Decoder" using the Nosefart NSF engine by Matt Conte
* http://www.baisoku.org/
*
- * $Id: nsf.c,v 1.9 2006/03/07 08:03:22 tmattern Exp $
+ * $Id: nsf.c,v 1.10 2006/05/03 19:46:08 dsalt Exp $
*/
#include <stdio.h>
@@ -286,7 +286,7 @@ static decoder_info_t dec_info_audio = {
/* The plugin catalog entry. This is the only information that this plugin
* will export to the public. */
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* { type, API version, "name", version, special_info, init_function }, */
{ PLUGIN_AUDIO_DECODER, 15, "nsf", XINE_VERSION_CODE, &dec_info_audio, &init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }