Fix uninitialized scalar variable defects reported by Coverity.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
PIPE_USAGE_STATIC,
sizeof(struct vertex2f) * 4
);
+ quad.user_buffer = NULL;
if(!quad.buffer)
return quad;
PIPE_USAGE_STATIC,
sizeof(struct vertex2s) * width * height
);
+ pos.user_buffer = NULL;
if(!pos.buffer)
return pos;
buf.stride = sizeof(struct vl_ycbcr_block);
buf.buffer_offset = 0;
buf.buffer = buffer->ycbcr[component].resource;
+ buf.user_buffer = NULL;
return buf;
}
buf.stride = sizeof(struct vl_motionvector);
buf.buffer_offset = 0;
buf.buffer = buffer->mv[motionvector].resource;
+ buf.user_buffer = NULL;
return buf;
}