mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
glcolorconvert: fix compiler warning
gstglcolorconvert.c:1133:11: error: 'j' may be used uninitialized in this function Was used uninitialized when jumping to out label in error case.
This commit is contained in:
parent
625efc1757
commit
06351d4d9b
1 changed files with 1 additions and 1 deletions
|
@ -1130,7 +1130,7 @@ _do_convert (GstGLContext * context, GstGLColorConvert * convert)
|
|||
struct ConvertInfo *c_info = &convert->priv->convert_info;
|
||||
GstMapInfo out_info[GST_VIDEO_MAX_PLANES], in_info[GST_VIDEO_MAX_PLANES];
|
||||
gboolean res = TRUE;
|
||||
gint i, j;
|
||||
gint i, j = 0;
|
||||
|
||||
out_width = GST_VIDEO_INFO_WIDTH (&convert->out_info);
|
||||
out_height = GST_VIDEO_INFO_HEIGHT (&convert->out_info);
|
||||
|
|
Loading…
Reference in a new issue