mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
templatematch: Compare the correct loop variables
This commit is contained in:
parent
0f0a50c119
commit
ef8bf75151
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ create_input_buffer (void)
|
|||
data = g_malloc0 (size);
|
||||
|
||||
/* blue and green */
|
||||
for (j = 0; i < 8; j++) {
|
||||
for (j = 0; j < 8; j++) {
|
||||
for (i = 0; i < 8; i++) {
|
||||
base = j * 16;
|
||||
data[base + i] = 255;
|
||||
|
@ -67,7 +67,7 @@ create_input_buffer (void)
|
|||
}
|
||||
}
|
||||
/* red */
|
||||
for (j = 0; i < 8; j++) {
|
||||
for (j = 0; j < 8; j++) {
|
||||
for (i = 0; i < 8; i++) {
|
||||
base = 8 * 8 + j * 16;
|
||||
data[base + i] = 0;
|
||||
|
|
Loading…
Reference in a new issue