dashdemux: Properly initalize GError

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2476>
This commit is contained in:
Edward Hervey 2021-08-20 14:34:53 +02:00 committed by Edward Hervey
parent 75f6f79e57
commit e9996be658

View file

@ -3607,7 +3607,7 @@ gst_dash_demux_poll_ntp_server (GstDashDemuxClockDrift * clock_drift,
if (!clock_drift->ntp_clock) { if (!clock_drift->ntp_clock) {
GResolver *resolver; GResolver *resolver;
GList *inet_addrs; GList *inet_addrs;
GError *err; GError *err = NULL;
gchar *ip_addr; gchar *ip_addr;
resolver = g_resolver_get_default (); resolver = g_resolver_get_default ();