Lines Matching refs:media
102 sdp_free_media(sdp_media_t *media)
106 while (media != NULL) {
107 next_media = media->m_next;
108 if (media->m_name != NULL)
109 free(media->m_name);
110 if (media->m_proto != NULL)
111 free(media->m_proto);
112 if (media->m_format != NULL)
113 sdp_free_list(media->m_format);
114 if (media->m_info != NULL)
115 free(media->m_info);
116 if (media->m_conn != NULL)
117 sdp_free_connection(media->m_conn);
118 if (media->m_bw != NULL)
119 sdp_free_bandwidth(media->m_bw);
120 if (media->m_key != NULL)
121 sdp_free_key(media->m_key);
122 if (media->m_attr != NULL)
123 sdp_free_attribute(media->m_attr);
124 free(media);
125 media = next_media;
331 * repeat and media can have undefined number of offsets or formats