Searched defs:new_media (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libcommputil/common/
H A Dsdp_parse.c870 sdp_media_t *new_media; local
878 new_media = calloc(1, sizeof (sdp_media_t));
879 if (new_media == NULL) {
883 new_media->m_session = session;
889 COMMP_COPY_STR(new_media->m_name, begin, current - begin);
890 if (new_media->m_name == NULL) {
891 sdp_free_media(new_media);
906 if (commp_atoui(begin, current, &new_media->m_port) != 0)
915 if (commp_atoi(begin, current, &new_media->m_portcount) != 0)
918 new_media
[all...]
H A Dsdp.c669 sdp_media_t *new_media; local
678 new_media = calloc(1, sizeof (sdp_media_t));
679 if (new_media == NULL) {
682 new_media->m_session = session;
683 new_media->m_port = port;
684 new_media->m_portcount = portcount;
685 if ((ret = commp_add_str(&new_media->m_name, name, strlen(name))) != 0)
687 if ((ret = commp_add_str(&new_media->m_proto, protocol,
691 if ((ret = sdp_str_to_list(&new_media->m_format, fmt,
697 session->s_media = new_media;
833 sdp_media_t *new_media; local
[all...]

Completed in 17 milliseconds