summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2021-08-20 14:34:53 +0200
committerEdward Hervey <bilboed@bilboed.com>2021-08-23 05:07:48 +0000
commit9337fc2d4bc83e5091d50ab0af3282ac9995bba9 (patch)
tree8fbc478394c6d702365ed073b77c4898f536a1a8
parentd4613bc13380e8b1727c3a46195c36be19b466f0 (diff)
dashdemux: Properly initalize GError
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2479>
-rw-r--r--ext/dash/gstdashdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c
index 351d4ef9e..52c7a2715 100644
--- a/ext/dash/gstdashdemux.c
+++ b/ext/dash/gstdashdemux.c
@@ -3605,7 +3605,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 ();