Commit 25ed0a30 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

deinterlace: Fix compiler warning

gstdeinterlace.c: In function 'gst_deinterlace_output_frame':
gstdeinterlace.c:1537:57: error: 'pattern.length' may be used uninitialized in this function [-Werror=maybe-uninitialized]

This actually is always initialized before it is used there, but
let's just silence gcc here.
parent f10c3f1a
......@@ -1497,6 +1497,8 @@ gst_deinterlace_output_frame (GstDeinterlace * self, gboolean flushing)
guint8 phase, count;
const GstDeinterlaceLocking locking = self->locking;
memset (&pattern, 0, sizeof (pattern));
ret = GST_FLOW_OK;
fields_required = 0;
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