Commit ab02b1db authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

v4l2videodec: Initialise ioctl struct with zeroes before passing it to ioctl()

parent 5b4681df
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment