mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
rtpmanager: Set to initial value for 'ntpns' in get_current_times()
Initialize "ntpns" variable to -1 as the OE compiler for some reason doesn't realize that the variable is set in all code paths. https://bugzilla.gnome.org/show_bug.cgi?id=764119
This commit is contained in:
parent
3549aa7924
commit
eb13a1d607
2 changed files with 2 additions and 2 deletions
|
@ -1068,7 +1068,7 @@ static void
|
|||
get_current_times (GstRtpBin * bin, GstClockTime * running_time,
|
||||
guint64 * ntpnstime)
|
||||
{
|
||||
guint64 ntpns;
|
||||
guint64 ntpns = -1;
|
||||
GstClock *clock;
|
||||
GstClockTime base_time, rt, clock_time;
|
||||
|
||||
|
|
|
@ -1016,7 +1016,7 @@ static void
|
|||
get_current_times (GstRtpSession * rtpsession, GstClockTime * running_time,
|
||||
guint64 * ntpnstime)
|
||||
{
|
||||
guint64 ntpns;
|
||||
guint64 ntpns = -1;
|
||||
GstClock *clock;
|
||||
GstClockTime base_time, rt, clock_time;
|
||||
|
||||
|
|
Loading…
Reference in a new issue