From 1e21218596ab3eb84da7b2ec8aedd46827284b8a Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Wed, 3 May 2006 19:46:06 +0000 Subject: =?UTF-8?q?Make=20various=20arrays=20and=20structures=20(mainly=20?= =?UTF-8?q?xine=5Fplugin=5Finfo)=20const.=20(Diego=20Petten=C3=B2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CVS patchset: 7985 CVS date: 2006/05/03 19:46:06 --- src/post/goom/gfontrle.c | 2 +- src/post/goom/xine_goom.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/post/goom') diff --git a/src/post/goom/gfontrle.c b/src/post/goom/gfontrle.c index 8a4b32cd0..a22545a1e 100755 --- a/src/post/goom/gfontrle.c +++ b/src/post/goom/gfontrle.c @@ -1,6 +1,6 @@ /* RGBA C-Source image dump (with zRLE compression) */ -const struct { +static const struct { unsigned int width; unsigned int height; unsigned int bytes_per_pixel; diff --git a/src/post/goom/xine_goom.c b/src/post/goom/xine_goom.c index 887283e26..891228489 100644 --- a/src/post/goom/xine_goom.c +++ b/src/post/goom/xine_goom.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_goom.c,v 1.59 2006/01/27 07:46:13 tmattern Exp $ + * $Id: xine_goom.c,v 1.60 2006/05/03 19:46:08 dsalt Exp $ * * GOOM post plugin. * @@ -50,7 +50,7 @@ #define GOOM_HEIGHT 240 /* colorspace conversion methods */ -const char * goom_csc_methods[]={ +static const char const * goom_csc_methods[]={ "Fast but not photorealistic", "Slow but looks better", NULL @@ -108,11 +108,11 @@ static void *goom_init_plugin(xine_t *xine, void *); /* plugin catalog information */ -post_info_t goom_special_info = { +const post_info_t goom_special_info = { XINE_POST_TYPE_AUDIO_VISUALIZATION }; -plugin_info_t xine_plugin_info[] = { +const plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ { PLUGIN_POST | PLUGIN_MUST_PRELOAD, 9, "goom", XINE_VERSION_CODE, &goom_special_info, &goom_init_plugin }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } -- cgit v1.2.3