aggregator: fix "'aggclass' may be used uninitialized in this function"

This commit is contained in:
Stefan Sauer 2017-07-01 20:23:25 +02:00 committed by Tim-Philipp Müller
parent 474acca0a8
commit 7b82eb546f

View file

@ -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 &&