From ef06d2a855def91f3f265ad540f965e0689b97ea Mon Sep 17 00:00:00 2001 From: Florin Apostol Date: Tue, 22 Dec 2015 11:23:19 +0000 Subject: [PATCH] dashdemux: removed unnecessary space trimming in gst_dash_demux_parse_http_head sscanf has removed all spaces when it has constructed zone string. There is no need to search for leading spaces. https://bugzilla.gnome.org/show_bug.cgi?id=759743 --- ext/dash/gstdashdemux.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index b14046c838..40b56af47e 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -1824,9 +1824,6 @@ gst_dash_demux_parse_http_head (GstDashDemuxClockDrift * clock_drift, break; } } - while (*z == ' ') { - ++z; - } for (int i = 0; timezones[i].name && !parsed_tz; ++i) { if (g_ascii_strncasecmp (timezones[i].name, z, strlen (timezones[i].name)) == 0) {