mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
clock: Return FALSE in all paths that don't set out parameters in gst_clock_add_observation_unapplied()
It returned TRUE when regression failed, while not setting any of the out parameters. This caused uninitialized data from the stack to be used for setting the clock calibration.
This commit is contained in:
parent
368ee8a336
commit
c32ea3cb58
1 changed files with 1 additions and 1 deletions
|
@ -1474,7 +1474,7 @@ invalid:
|
|||
{
|
||||
/* no valid regression has been done, ignore the result then */
|
||||
GST_CLOCK_SLAVE_UNLOCK (clock);
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue