summaryrefslogtreecommitdiff
path: root/src/libsputext
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/libsputext
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/libsputext')
-rw-r--r--src/libsputext/demux_sputext.c4
-rw-r--r--src/libsputext/xine_decoder.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libsputext/demux_sputext.c b/src/libsputext/demux_sputext.c
index d5150a86c..7e75d19da 100644
--- a/src/libsputext/demux_sputext.c
+++ b/src/libsputext/demux_sputext.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_sputext.c,v 1.47 2006/02/14 18:44:08 dsalt Exp $
+ * $Id: demux_sputext.c,v 1.48 2006/05/03 19:46:08 dsalt Exp $
*
* code based on old libsputext/xine_decoder.c
*
@@ -1513,7 +1513,7 @@ static void *init_sputext_demux_class (xine_t *xine, void *data) {
return this;
}
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "sputext", XINE_VERSION_CODE, NULL, &init_sputext_demux_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libsputext/xine_decoder.c b/src/libsputext/xine_decoder.c
index 66ae49372..b07f6634e 100644
--- a/src/libsputext/xine_decoder.c
+++ b/src/libsputext/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.91 2005/11/28 12:24:57 valtri Exp $
+ * $Id: xine_decoder.c,v 1.92 2006/05/03 19:46:08 dsalt Exp $
*
*/
@@ -949,7 +949,7 @@ static decoder_info_t spudec_info = {
1 /* priority */
};
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_SPU_DECODER | PLUGIN_MUST_PRELOAD, 16, "sputext", XINE_VERSION_CODE, &spudec_info, &init_spu_decoder_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }