diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-05-03 19:46:06 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-05-03 19:46:06 +0000 |
commit | 1e21218596ab3eb84da7b2ec8aedd46827284b8a (patch) | |
tree | 4e73293d224c7ac9eff131af52e4747b12674ecd /src/libxinevdec | |
parent | 5859b4076e5326996aa21e6fc0ce572edebec469 (diff) | |
download | xine-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/libxinevdec')
-rw-r--r-- | src/libxinevdec/bitplane.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/foovideo.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/gdkpixbuf.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/image.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/rgb.c | 4 | ||||
-rw-r--r-- | src/libxinevdec/yuv.c | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/src/libxinevdec/bitplane.c b/src/libxinevdec/bitplane.c index 4fe9877ef..e63c9c909 100644 --- a/src/libxinevdec/bitplane.c +++ b/src/libxinevdec/bitplane.c @@ -28,7 +28,7 @@ * 8 (long and short) * - untested (found no testfiles) IFF-ANIM OPT 3, 4 and 6 * - * $Id: bitplane.c,v 1.12 2006/03/21 07:39:18 tmattern Exp $ + * $Id: bitplane.c,v 1.13 2006/05/03 19:46:08 dsalt Exp $ */ #include <stdio.h> @@ -1585,7 +1585,7 @@ static decoder_info_t dec_info_video = { 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, 18, "bitplane", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } diff --git a/src/libxinevdec/foovideo.c b/src/libxinevdec/foovideo.c index 853dae089..442ae894f 100644 --- a/src/libxinevdec/foovideo.c +++ b/src/libxinevdec/foovideo.c @@ -23,7 +23,7 @@ * value from the last frame. This creates a slowly rotating solid color * frame when the frames are played in succession. * - * $Id: foovideo.c,v 1.23 2004/12/16 13:59:12 mroi Exp $ + * $Id: foovideo.c,v 1.24 2006/05/03 19:46:08 dsalt Exp $ */ #include <stdio.h> @@ -296,7 +296,7 @@ static decoder_info_t dec_info_video = { * 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, "name", version, special_info, init_function } */ { PLUGIN_VIDEO_DECODER, 18, "foovideo", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } diff --git a/src/libxinevdec/gdkpixbuf.c b/src/libxinevdec/gdkpixbuf.c index 8f322a2a8..a0fdcb338 100644 --- a/src/libxinevdec/gdkpixbuf.c +++ b/src/libxinevdec/gdkpixbuf.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: gdkpixbuf.c,v 1.3 2006/02/08 09:08:06 hadess Exp $ + * $Id: gdkpixbuf.c,v 1.4 2006/05/03 19:46:08 dsalt Exp $ * * a gdk-pixbuf-based image video decoder */ @@ -307,7 +307,7 @@ static decoder_info_t dec_info_image = { 7 /* 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, 18, "gdkpixbuf", XINE_VERSION_CODE, &dec_info_image, init_class }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } diff --git a/src/libxinevdec/image.c b/src/libxinevdec/image.c index 407a9f3b6..e51033ca2 100644 --- a/src/libxinevdec/image.c +++ b/src/libxinevdec/image.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: image.c,v 1.17 2005/02/03 23:18:34 holstsn Exp $ + * $Id: image.c,v 1.18 2006/05/03 19:46:08 dsalt Exp $ * * a image video decoder */ @@ -278,7 +278,7 @@ static decoder_info_t dec_info_image = { 6 /* 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, 18, "image", XINE_VERSION_CODE, &dec_info_image, init_class }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } diff --git a/src/libxinevdec/rgb.c b/src/libxinevdec/rgb.c index 9c6468726..264a0ac5d 100644 --- a/src/libxinevdec/rgb.c +++ b/src/libxinevdec/rgb.c @@ -30,7 +30,7 @@ * One more catch: Raw RGB from a Microsoft file is upside down. This is * indicated by a negative height parameter. * - * $Id: rgb.c,v 1.31 2006/03/18 10:05:21 tmattern Exp $ + * $Id: rgb.c,v 1.32 2006/05/03 19:46:08 dsalt Exp $ */ #include <stdio.h> @@ -458,7 +458,7 @@ static decoder_info_t dec_info_video = { 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, 18, "rgb", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } diff --git a/src/libxinevdec/yuv.c b/src/libxinevdec/yuv.c index b0efd85f5..cc551a119 100644 --- a/src/libxinevdec/yuv.c +++ b/src/libxinevdec/yuv.c @@ -21,7 +21,7 @@ * Actually, this decoder just reorganizes chunks of raw YUV data in such * a way that xine can display them. * - * $Id: yuv.c,v 1.34 2004/12/16 13:59:12 mroi Exp $ + * $Id: yuv.c,v 1.35 2006/05/03 19:46:08 dsalt Exp $ */ #include <stdio.h> @@ -385,7 +385,7 @@ static decoder_info_t dec_info_video = { 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, 18, "yuv", XINE_VERSION_CODE, &dec_info_video, init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } |