summaryrefslogtreecommitdiff
path: root/src/video_dec
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-23 17:18:36 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-23 17:18:36 +0100
commitc292a8d56fc0531297775cf64f14190b26b9b216 (patch)
treeaccc87b5b6f1cc2753c941e84c2ff9a9d93a47ae /src/video_dec
parentbc8c21fd7f45233fe6501e4e9a21b33a0c498248 (diff)
downloadxine-lib-c292a8d56fc0531297775cf64f14190b26b9b216.tar.gz
xine-lib-c292a8d56fc0531297775cf64f14190b26b9b216.tar.bz2
Mark all supported_types constant.
Diffstat (limited to 'src/video_dec')
-rw-r--r--src/video_dec/gdkpixbuf.c2
-rw-r--r--src/video_dec/image.c2
-rw-r--r--src/video_dec/libmpeg2/xine_mpeg2_decoder.c2
3 files changed, 3 insertions, 3 deletions
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 */