mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
dataurisrc: use g_ascii_strcasecmp()
This commit is contained in:
parent
c6c3d9781b
commit
0073550300
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