summaryrefslogtreecommitdiff
path: root/src/libw32dll
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/libw32dll
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/libw32dll')
-rw-r--r--src/libw32dll/qt_decoder.c4
-rw-r--r--src/libw32dll/w32codec.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libw32dll/qt_decoder.c b/src/libw32dll/qt_decoder.c
index cadaa0ace..4a0439d1b 100644
--- a/src/libw32dll/qt_decoder.c
+++ b/src/libw32dll/qt_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: qt_decoder.c,v 1.40 2006/03/07 08:03:10 tmattern Exp $
+ * $Id: qt_decoder.c,v 1.41 2006/05/03 19:46:08 dsalt Exp $
*
* quicktime video/audio decoder plugin, using win32 dlls
* most of this code comes directly from MPlayer
@@ -1152,7 +1152,7 @@ static decoder_info_t qtv_dec_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_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "qtv", XINE_VERSION_CODE, &qtv_dec_info, qtv_init_class },
{ PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "qta", XINE_VERSION_CODE, &qta_dec_info, qta_init_class },
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c
index f38ad7ab1..de3927abc 100644
--- a/src/libw32dll/w32codec.c
+++ b/src/libw32dll/w32codec.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: w32codec.c,v 1.150 2006/03/07 08:03:16 tmattern Exp $
+ * $Id: w32codec.c,v 1.151 2006/05/03 19:46:08 dsalt Exp $
*
* routines for using w32 codecs
* DirectShow support by Miguel Freitas (Nov/2001)
@@ -1718,7 +1718,7 @@ static decoder_info_t dec_info_audio = {
1 /* priority */
};
-plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "win32v", XINE_VERSION_CODE, &dec_info_video, init_video_decoder_class },
{ PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "win32a", XINE_VERSION_CODE, &dec_info_audio, init_audio_decoder_class },