Bug 892911 - Check that media section is found before adding rtcp-fb attributes r=ekr

This commit is contained in:
Adam Roach [:abr] 2013-07-12 12:53:22 -05:00
Родитель 4facd1d2e1
Коммит d6a0fe7f94
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -4810,7 +4810,7 @@ gsmsdp_negotiate_media_lines (fsm_fcb_t *fcb_p, cc_sdp_t *sdp_p, boolean initial
actual behavior. This really needs to be a negotiation, with the
results of the negotiation propagating into the codec configuration.
See Bug 880067. */
if (media_type == SDP_MEDIA_VIDEO) {
if (media && media_type == SDP_MEDIA_VIDEO) {
gsmsdp_set_rtcp_fb_nack_attribute(media->level, sdp_p->src_sdp,
SDP_ALL_PAYLOADS,
SDP_RTCP_FB_NACK_UNSPECIFIED);