v4l2videodec: Initialise ioctl struct with zeroes before passing it to ioctl()
This commit is contained in:
parent
5b4681dfe7
commit
ab02b1db6c
@ -840,6 +840,8 @@ gst_v4l2_video_dec_probe_caps (gchar * device, gint video_fd,
|
||||
for (n = 0;; n++) {
|
||||
GstStructure *template;
|
||||
|
||||
memset (&format, 0, sizeof (format));
|
||||
|
||||
format.index = n;
|
||||
format.type = type;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user