summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2021-08-20 14:34:53 +0200
committerEdward Hervey <bilboed@bilboed.com>2021-08-20 14:35:43 +0200
commite9996be6581605bc50801961c5c9adfd54eaaff1 (patch)
tree196ae2aeec49aa7edce07fee7a31b9baf7fda673 /ext
parent75f6f79e571dbc3aee66c4ff4e55564c527e9c71 (diff)
downloadgstreamer-plugins-bad-e9996be6581605bc50801961c5c9adfd54eaaff1.tar.gz
dashdemux: Properly initalize GError
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2476>
Diffstat (limited to 'ext')
-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 fd9779516..a71e72dbc 100644
--- a/ext/dash/gstdashdemux.c
+++ b/ext/dash/gstdashdemux.c
@@ -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 ();