summaryrefslogtreecommitdiff
authorDavid Schleef <ds@schleef.org>2010-12-31 02:02:06 (GMT)
committer David Schleef <ds@schleef.org>2010-12-31 02:08:32 (GMT)
commit0073550300ba3f146f52ca59472c497cd1fc22e0 (patch) (side-by-side diff)
tree23580e7aa9650d53edf8f1401a5e18013c0e0aa4
parentc6c3d9781befc7a7056e7d9befdf8cd5b5254c76 (diff)
downloadgst-plugins-bad-0073550300ba3f146f52ca59472c497cd1fc22e0.zip
gst-plugins-bad-0073550300ba3f146f52ca59472c497cd1fc22e0.tar.gz
dataurisrc: use g_ascii_strcasecmp()
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gst/dataurisrc/gstdataurisrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/dataurisrc/gstdataurisrc.c b/gst/dataurisrc/gstdataurisrc.c
index 17ebf4b..446ca84 100644
--- a/gst/dataurisrc/gstdataurisrc.c
+++ b/gst/dataurisrc/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);