ptp: Make sure to always initialize the variables we put into the statistics structure later

CID 1304676, 1304677, 1304678, 1304679.
This commit is contained in:
Sebastian Dröge 2015-06-08 12:22:56 +02:00
parent c8d777feaa
commit 5ba9e9d9a8

View file

@ -1090,6 +1090,8 @@ update_ptp_time (PtpDomainData * domain, PtpPendingSync * sync)
GST_TIME_ARGS (sync->follow_up_recv_time_local), GST_TIME_ARGS (sync->follow_up_recv_time_local),
GST_TIME_ARGS (domain->mean_path_delay)); GST_TIME_ARGS (domain->mean_path_delay));
synced = FALSE; synced = FALSE;
gst_clock_get_calibration (GST_CLOCK_CAST (domain->domain_clock),
&internal_time, &external_time, &rate_num, &rate_den);
goto out; goto out;
} }
#endif #endif