mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
dataurisrc: use g_ascii_strcasecmp()
This commit is contained in:
parent
ccd06b6d16
commit
a1fc9987ca
1 changed files with 2 additions and 2 deletions
|
@ -415,8 +415,8 @@ gst_data_uri_src_set_uri (GstURIHandler * handler, const gchar * uri)
|
|||
|
||||
/* Convert to UTF8 */
|
||||
if (strcmp ("text/plain", mimetype) == 0 &&
|
||||
charset && strcasecmp ("US-ASCII", charset) != 0
|
||||
&& strcasecmp ("UTF-8", charset) != 0) {
|
||||
charset && g_ascii_strcasecmp ("US-ASCII", charset) != 0
|
||||
&& g_ascii_strcasecmp ("UTF-8", charset) != 0) {
|
||||
gsize read;
|
||||
gsize written;
|
||||
gchar *old_data = (gchar *) GST_BUFFER_DATA (src->buffer);
|
||||
|
|
Loading…
Reference in a new issue