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.
This commit is contained in:
Sebastian Dröge 2014-04-22 17:29:02 +02:00
parent f10c3f1a76
commit 25ed0a30a4

View file

@ -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));
restart:
ret = GST_FLOW_OK;
fields_required = 0;