mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
warning: 'current_diff' might be used uninitialized in this function
Original commit message from CVS: warning: 'current_diff' might be used uninitialized in this function
This commit is contained in:
parent
660621ca99
commit
3743cdef5b
1 changed files with 2 additions and 1 deletions
|
@ -231,7 +231,8 @@ gst_dpsmooth_do_update_float (GstDParam *dparam, gint64 timestamp, GValue *value
|
||||||
{
|
{
|
||||||
gint64 time_diff;
|
gint64 time_diff;
|
||||||
gfloat time_ratio;
|
gfloat time_ratio;
|
||||||
gfloat current, target, max_change, current_diff, final_val;
|
gfloat current, target, max_change, final_val;
|
||||||
|
gfloat current_diff = 0;
|
||||||
|
|
||||||
GstDParamSmooth *dpsmooth = GST_DPSMOOTH(dparam);
|
GstDParamSmooth *dpsmooth = GST_DPSMOOTH(dparam);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue