summaryrefslogtreecommitdiff
path: root/src/video_dec
diff options
context:
space:
mode:
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 */