dashdemux: Properly initalize GError
authorEdward Hervey <edward@centricular.com>
Fri, 20 Aug 2021 12:34:53 +0000 (14:34 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 20 Aug 2021 12:35:43 +0000 (14:35 +0200)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2476>

ext/dash/gstdashdemux.c

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