From c292a8d56fc0531297775cf64f14190b26b9b216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sun, 23 Dec 2007 17:18:36 +0100 Subject: Mark all supported_types constant. --- src/video_dec/gdkpixbuf.c | 2 +- src/video_dec/image.c | 2 +- src/video_dec/libmpeg2/xine_mpeg2_decoder.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/video_dec') diff --git a/src/video_dec/gdkpixbuf.c b/src/video_dec/gdkpixbuf.c index 28c9c77c7..34644241d 100644 --- a/src/video_dec/gdkpixbuf.c +++ b/src/video_dec/gdkpixbuf.c @@ -280,7 +280,7 @@ static void *init_class (xine_t *xine, void *data) { * exported plugin catalog entry */ -static uint32_t supported_types[] = { BUF_VIDEO_IMAGE, BUF_VIDEO_JPEG, 0 }; +static const uint32_t supported_types[] = { BUF_VIDEO_IMAGE, BUF_VIDEO_JPEG, 0 }; static const decoder_info_t dec_info_image = { supported_types, /* supported types */ diff --git a/src/video_dec/image.c b/src/video_dec/image.c index e84312624..5c8439a67 100644 --- a/src/video_dec/image.c +++ b/src/video_dec/image.c @@ -258,7 +258,7 @@ static void *init_class (xine_t *xine, void *data) { * exported plugin catalog entry */ -static uint32_t supported_types[] = { BUF_VIDEO_IMAGE, +static const uint32_t supported_types[] = { BUF_VIDEO_IMAGE, 0 }; static const decoder_info_t dec_info_image = { diff --git a/src/video_dec/libmpeg2/xine_mpeg2_decoder.c b/src/video_dec/libmpeg2/xine_mpeg2_decoder.c index 3a3e28452..fc8bd4dc2 100644 --- a/src/video_dec/libmpeg2/xine_mpeg2_decoder.c +++ b/src/video_dec/libmpeg2/xine_mpeg2_decoder.c @@ -155,7 +155,7 @@ static void *init_plugin (xine_t *xine, void *data) { * exported plugin catalog entry */ -static uint32_t supported_types[] = { BUF_VIDEO_MPEG, 0 }; +static const uint32_t supported_types[] = { BUF_VIDEO_MPEG, 0 }; static const decoder_info_t dec_info_mpeg2 = { supported_types, /* supported types */ -- cgit v1.2.3