gst_plugins_base/gst-libs/gst/rtp/gstrtppayloads.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
   226   const GstRTPPayloadInfo *result = NULL;
   226   const GstRTPPayloadInfo *result = NULL;
   227   gint i;
   227   gint i;
   228 
   228 
   229   for (i = 0; info[i].media; i++) {
   229   for (i = 0; info[i].media; i++) {
   230     if (strcmp (media, info[i].media) == 0
   230     if (strcmp (media, info[i].media) == 0
   231         && g_ascii_strcasecmp (encoding_name, info[i].encoding_name) == 0) {
   231         && g_strcasecmp (encoding_name, info[i].encoding_name) == 0) {
   232       result = &info[i];
   232       result = &info[i];
   233       break;
   233       break;
   234     }
   234     }
   235   }
   235   }
   236   return result;
   236   return result;