From 2de93aa088b7816936aa55ac5896e7232b041b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bj=C3=A4reholt?= Date: Tue, 23 Oct 2018 13:04:34 +0200 Subject: matroska-ids: Fix uninitialized memory in contexts https://bugzilla.gnome.org/show_bug.cgi?id=797327 --- gst/matroska/matroska-ids.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/matroska/matroska-ids.c b/gst/matroska/matroska-ids.c index 4fe9b5312..df2630ecf 100644 --- a/gst/matroska/matroska-ids.c +++ b/gst/matroska/matroska-ids.c @@ -58,6 +58,9 @@ gst_matroska_track_init_video_context (GstMatroskaTrackContext ** p_context) video_context->asr_mode = 0; video_context->fourcc = 0; video_context->default_fps = 0.0; + video_context->interlace_mode = GST_MATROSKA_INTERLACE_MODE_UNKNOWN; + video_context->earliest_time = GST_CLOCK_TIME_NONE; + video_context->dirac_unit = NULL; video_context->earliest_time = GST_CLOCK_TIME_NONE; video_context->dirac_unit = NULL; video_context->earliest_time = GST_CLOCK_TIME_NONE; -- cgit v1.2.1