mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
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
This commit is contained in:
parent
09b21eacae
commit
ef06d2a855
1 changed files with 0 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue