From: David Schleef Date: Fri, 31 Dec 2010 02:02:06 +0000 (-0800) Subject: dataurisrc: use g_ascii_strcasecmp() X-Git-Tag: 1.12.0~212^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1fc9987ca831bcecb7f7b5b4f2c8fec12832752;p=platform%2Fupstream%2Fgstreamer.git dataurisrc: use g_ascii_strcasecmp() --- diff --git a/plugins/elements/gstdataurisrc.c b/plugins/elements/gstdataurisrc.c index 17ebf4b..446ca84 100644 --- a/plugins/elements/gstdataurisrc.c +++ b/plugins/elements/gstdataurisrc.c @@ -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);