sdp_msg.c: fix missing rate in sdp_audio_codecs_add()
When a new entry is is added by sdp_audio_codecs_add(), also add the proper rate. Change-Id: I17ad8862f662975e2df72a332eb83df7fb048cad
This commit is contained in:
parent
ed606b4271
commit
8ff00e775c
|
@ -154,6 +154,7 @@ struct sdp_audio_codec *sdp_audio_codecs_add(struct sdp_audio_codecs *ac, unsign
|
|||
OSMO_STRLCPY_ARRAY(codec->subtype_name, subtype_name);
|
||||
if (fmtp)
|
||||
OSMO_STRLCPY_ARRAY(codec->fmtp, fmtp);
|
||||
codec->rate = rate;
|
||||
return codec;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue