videomixer: Make checker pattern lookup table constant
This commit is contained in:
parent
69f9b7c8d6
commit
356972740a
@ -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++) {
|
||||
|
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user