mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
sdpdemux: assertion error due to wrong condition check
In media to caps function, reserved_keys array is being used for variable i, leading to GLib-CRITICAL **: g_ascii_strcasecmp: assertion 's1 != NULL' failed changed it to variable j https://bugzilla.gnome.org/show_bug.cgi?id=753009
This commit is contained in:
parent
22baf364fe
commit
8f7a84a9a1
1 changed files with 1 additions and 1 deletions
|
@ -696,7 +696,7 @@ gst_sdp_demux_media_to_caps (gint pt, const GstSDPMedia * media)
|
|||
* in the caps... and thus fail to create valid RTP caps
|
||||
*/
|
||||
for (j = 0; j < G_N_ELEMENTS (reserved_keys); j++) {
|
||||
if (g_ascii_strcasecmp (reserved_keys[i], key) == 0) {
|
||||
if (g_ascii_strcasecmp (reserved_keys[j], key) == 0) {
|
||||
key = "";
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue