From 356972740a6c4abeadebfe6e60a5bf248429ffbd Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Wed, 8 Jul 2009 18:19:45 +0200 Subject: videomixer: Make checker pattern lookup table constant --- gst/videomixer/blend_ayuv.c | 2 +- gst/videomixer/blend_i420.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/videomixer') 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++) { -- cgit