Commit 6652b99d authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Fixed bug in sdp_rtpmap_find_matching().

darcs-hash:20051201002731-65a35-92e10ddb668f83d48f5c83daa405fe814e3fce12.gz
Showing with 1 addition and 3 deletions
......@@ -1744,9 +1744,7 @@ sdp_rtpmap_t *sdp_rtpmap_find_matching(sdp_rtpmap_t const *list,
if (rm->rm_rate != list->rm_rate)
continue;
if (rm->rm_encoding != list->rm_encoding &&
!rm->rm_encoding != !list->rm_encoding &&
strcasecmp(rm->rm_encoding, list->rm_encoding) != 0)
if (strcasecmp(rm->rm_encoding, list->rm_encoding) != 0)
continue;
lparam = rm->rm_params; rparam = list->rm_params;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment