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().
This commit is contained in:
Sebastian Dröge 2008-04-19 16:33:24 +00:00
parent 712c625b01
commit b8d03daeab
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
* 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 <tim at centricular dot net>
* configure.ac:

View file

@ -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;
}