From 9a30399e4f508269d72cc8c1457f94beb363eb09 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Thu, 1 Oct 2015 22:09:58 +0200 Subject: [PATCH] interpolationcontrolsource: fix write over the array size The '++' got incidentially added during the refactoring in 2fe3939ce7ea84c45dd922e7f1097dd07f11fc5d. --- libs/gst/controller/gstinterpolationcontrolsource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/controller/gstinterpolationcontrolsource.c b/libs/gst/controller/gstinterpolationcontrolsource.c index a52f54ed65..5957049631 100644 --- a/libs/gst/controller/gstinterpolationcontrolsource.c +++ b/libs/gst/controller/gstinterpolationcontrolsource.c @@ -229,7 +229,7 @@ interpolate_linear_get_value_array (GstTimedValueControlSource * self, ret = TRUE; GST_LOG ("values[%3d]=%lf", i, *values); } else { - *values++ = NAN; + *values = NAN; GST_LOG ("values[%3d]=-", i); } ts += interval;