mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
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:
parent
712c625b01
commit
b8d03daeab
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
2008-04-18 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -220,7 +220,7 @@ gst_rtp_payload_info_for_name (const gchar * media, const gchar * encoding_name)
|
||||||
|
|
||||||
for (i = 0; info[i].media; i++) {
|
for (i = 0; info[i].media; i++) {
|
||||||
if (strcmp (media, info[i].media) == 0
|
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];
|
result = &info[i];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue