mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
videomixer: Make checker pattern lookup table constant
This commit is contained in:
parent
69f9b7c8d6
commit
356972740a
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue