mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
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:
parent
f10c3f1a76
commit
25ed0a30a4
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue