summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst/videomixer/blend_ayuv.c2
-rw-r--r--gst/videomixer/blend_i420.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/videomixer/blend_ayuv.c b/gst/videomixer/blend_ayuv.c
index 072773a7..7cbe1546 100644
--- a/gst/videomixer/blend_ayuv.c
+++ b/gst/videomixer/blend_ayuv.c
@@ -237,7 +237,7 @@ void
gst_videomixer_fill_ayuv_checker (guint8 * dest, gint width, gint height)
{
gint i, j;
- static int tab[] = { 80, 160, 80, 160 };
+ static const int tab[] = { 80, 160, 80, 160 };
for (i = 0; i < height; i++) {
for (j = 0; j < width; j++) {
diff --git a/gst/videomixer/blend_i420.c b/gst/videomixer/blend_i420.c
index a2e6c441..91fa792f 100644
--- a/gst/videomixer/blend_i420.c
+++ b/gst/videomixer/blend_i420.c
@@ -282,7 +282,7 @@ gst_videomixer_fill_i420_checker (guint8 * dest, gint width, gint height)
{
int size;
gint i, j;
- static int tab[] = { 80, 160, 80, 160 };
+ static const int tab[] = { 80, 160, 80, 160 };
guint8 *p = dest;
for (i = 0; i < height; i++) {