From 7b82eb546fcd4d291bcffc860100a9c416000d43 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sat, 1 Jul 2017 20:23:25 +0200 Subject: [PATCH] aggregator: fix "'aggclass' may be used uninitialized in this function" --- libs/gst/base/gstaggregator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index f0dd552..3a2daf8 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -2855,7 +2855,7 @@ static void gst_aggregator_pad_clip_buffer_unlocked (GstAggregatorPad * pad) { GstAggregator *self = NULL; - GstAggregatorClass *aggclass; + GstAggregatorClass *aggclass = NULL; GstBuffer *buffer = NULL; while (pad->priv->clipped_buffer == NULL && -- 2.7.4