mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
glupload: Fix valid compiler warning
gstglupload.c:442:32: error: if statement has empty body [-Werror,-Wempty-body] if (upload->texture_ids[i]); ^
This commit is contained in:
parent
c08a461fa4
commit
0f753b7099
1 changed files with 3 additions and 3 deletions
|
@ -439,9 +439,9 @@ _upload_meta_upload_free (gpointer impl)
|
||||||
gint i;
|
gint i;
|
||||||
|
|
||||||
for (i = 0; i < GST_VIDEO_MAX_PLANES; i++) {
|
for (i = 0; i < GST_VIDEO_MAX_PLANES; i++) {
|
||||||
if (upload->texture_ids[i]);
|
if (upload->texture_ids[i])
|
||||||
gst_gl_context_del_texture (upload->upload->context,
|
gst_gl_context_del_texture (upload->upload->context,
|
||||||
&upload->texture_ids[i]);
|
&upload->texture_ids[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue