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
@ -1824,9 +1824,6 @@ gst_dash_demux_parse_http_head (GstDashDemuxClockDrift * clock_drift,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while (*z == ' ') {
|
|
||||||
++z;
|
|
||||||
}
|
|
||||||
for (int i = 0; timezones[i].name && !parsed_tz; ++i) {
|
for (int i = 0; timezones[i].name && !parsed_tz; ++i) {
|
||||||
if (g_ascii_strncasecmp (timezones[i].name, z,
|
if (g_ascii_strncasecmp (timezones[i].name, z,
|
||||||
strlen (timezones[i].name)) == 0) {
|
strlen (timezones[i].name)) == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user