Bug 1073710: Fix typos in vcmCheckAttribs that caused the max-dpb and max-fr to be set equal to the max-cpb. r=jesup

This commit is contained in:
Byron Campen [:bwc] 2014-09-26 15:54:36 -07:00
parent c9e2197fd4
commit 745c1699d5

View File

@ -2549,12 +2549,12 @@ cc_boolean vcmCheckAttribs(cc_uint32_t media_type, void *sdp_p, int level,
rcap->max_cpb = t_uint;
}
if ( ccsdpAttrGetFmtpMaxCpb(sdp_p, level, 0, fmtp_inst, &t_uint) == SDP_SUCCESS )
if ( ccsdpAttrGetFmtpMaxDpb(sdp_p, level, 0, fmtp_inst, &t_uint) == SDP_SUCCESS )
{
rcap->max_dpb = t_uint;
}
if ( ccsdpAttrGetFmtpMaxCpb(sdp_p, level, 0, fmtp_inst, &t_uint) == SDP_SUCCESS )
if ( ccsdpAttrGetFmtpMaxBr(sdp_p, level, 0, fmtp_inst, &t_uint) == SDP_SUCCESS )
{
rcap->max_br = t_uint;
}