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
@ -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…
x
Reference in New Issue
Block a user