summaryrefslogtreecommitdiff
path: root/gst/sdp/gstsdpdemux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/sdp/gstsdpdemux.c')
-rw-r--r--gst/sdp/gstsdpdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c
index 010b0c546..67e4afda1 100644
--- a/gst/sdp/gstsdpdemux.c
+++ b/gst/sdp/gstsdpdemux.c
@@ -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;
}