summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Bjäreholt <johanbj@axis.com>2018-10-23 13:04:34 +0200
committerTim-Philipp Müller <tim@centricular.com>2019-05-01 19:48:36 +0100
commit2de93aa088b7816936aa55ac5896e7232b041b61 (patch)
treeb62a9294aae0006d0eceb1d5473679ed644c2f5d
parent85e7115615e8133deae0d4898243515ad5883eb2 (diff)
downloadgstreamer-plugins-good-2de93aa088b7816936aa55ac5896e7232b041b61.tar.gz
matroska-ids: Fix uninitialized memory in contexts
https://bugzilla.gnome.org/show_bug.cgi?id=797327
-rw-r--r--gst/matroska/matroska-ids.c3
1 files changed, 3 insertions, 0 deletions
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;