search for: mimesubtyp

Displaying 1 result from an estimated 1 matches for "mimesubtyp".

Did you mean: mimesubtype
2003 Aug 04
0
small fix in chan_mgcp.c
.../chan_mgcp.c 2 Aug 2003 05:46:32 -0000 1.16 +++ channels/chan_mgcp.c 4 Aug 2003 11:30:34 -0000 @@ -1261,7 +1261,10 @@ sdpLineNum_iterator_init(&iterator); while ((a = get_sdp_iterate(&iterator, req, "a"))[0] != '\0') { char* mimeSubtype = strdup(a); // ensures we have enough space - if (sscanf(a, "rtpmap: %u %[^/]/", &codec, mimeSubtype) != 2) continue; + if (sscanf(a, "rtpmap: %u %[^/]/", &codec, mimeSubtype) != 2) { + free(mimeSubtype); + continue; +...