v4l2: object: Make sure dmabuf_tmpl isn't used uninitialized
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8457>
This commit is contained in:
parent
9faf555219
commit
6d849f5ee1
@ -5290,7 +5290,7 @@ gst_v4l2_object_probe_caps (GstV4l2Object * v4l2object, GstCaps * filter)
|
||||
|
||||
for (walk = formats; walk; walk = walk->next) {
|
||||
struct v4l2_fmtdesc *format;
|
||||
GstStructure *sysmem_tmpl, *dmabuf_tmpl;
|
||||
GstStructure *sysmem_tmpl, *dmabuf_tmpl = NULL;
|
||||
GstCaps *tmp;
|
||||
|
||||
format = (struct v4l2_fmtdesc *) walk->data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user