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
@ -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…
x
Reference in New Issue
Block a user