From b8d03daeab0c195771b044714512746477e6b9d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 19 Apr 2008 16:33:24 +0000 Subject: [PATCH] gst-libs/gst/rtp/gstrtppayloads.c: Use g_ascii_strcasecmp() instead of the deprecated g_strcasecmp(). Original commit message from CVS: * gst-libs/gst/rtp/gstrtppayloads.c: (gst_rtp_payload_info_for_name): Use g_ascii_strcasecmp() instead of the deprecated g_strcasecmp(). --- ChangeLog | 6 ++++++ gst-libs/gst/rtp/gstrtppayloads.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2b5bdc8ef7..2f0010dbef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-04-19 Sebastian Dröge + + * gst-libs/gst/rtp/gstrtppayloads.c: + (gst_rtp_payload_info_for_name): + Use g_ascii_strcasecmp() instead of the deprecated g_strcasecmp(). + 2008-04-18 Tim-Philipp Müller * configure.ac: diff --git a/gst-libs/gst/rtp/gstrtppayloads.c b/gst-libs/gst/rtp/gstrtppayloads.c index 60ac5b5ca0..97c0fa952b 100644 --- a/gst-libs/gst/rtp/gstrtppayloads.c +++ b/gst-libs/gst/rtp/gstrtppayloads.c @@ -220,7 +220,7 @@ gst_rtp_payload_info_for_name (const gchar * media, const gchar * encoding_name) for (i = 0; info[i].media; i++) { if (strcmp (media, info[i].media) == 0 - && g_strcasecmp (encoding_name, info[i].encoding_name) == 0) { + && g_ascii_strcasecmp (encoding_name, info[i].encoding_name) == 0) { result = &info[i]; break; }