From c0f4a855cc43ea320e1a677d60bb9218afbb1a45 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 13 Nov 2024 17:01:03 +1100 Subject: [PATCH] ges/clip: silence some maybe-unitiailized warnings Part-of: --- subprojects/gst-editing-services/ges/ges-clip.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/subprojects/gst-editing-services/ges/ges-clip.c b/subprojects/gst-editing-services/ges/ges-clip.c index 457054b052..07b2871bd8 100644 --- a/subprojects/gst-editing-services/ges/ges-clip.c +++ b/subprojects/gst-editing-services/ges/ges-clip.c @@ -2208,14 +2208,15 @@ static GESContainer * _group (GList * containers) { GESClip *first_clip = NULL; - GESTimeline *timeline; + GESTimeline *timeline = NULL; GESTrackType supported_formats; - GESLayer *layer; + GESLayer *layer = NULL; GList *tmp, *tmp2, *tmpclip; - GstClockTime start, inpoint, duration; + GstClockTime start = GST_CLOCK_TIME_NONE, inpoint = GST_CLOCK_TIME_NONE; + GstClockTime duration = GST_CLOCK_TIME_NONE; GESTimelineElement *element; - GESAsset *asset; + GESAsset *asset = NULL; GESContainer *ret = NULL; if (!containers)