summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-07-08 18:19:45 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-07-08 18:19:45 +0200
commit356972740a6c4abeadebfe6e60a5bf248429ffbd (patch)
tree783bc7f0916e52b58dff0bab73f7a9cc14ba3f9f
parent69f9b7c8d683326eb6dac0663e19bb9ef4938f0b (diff)
videomixer: Make checker pattern lookup table constant
-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 072773a76..7cbe15461 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 a2e6c4419..91fa792ff 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++) {