| 5205 | } |
| 5206 | |
| 5207 | static str *rtpengine_new_subs(str *tag) |
| 5208 | { |
| 5209 | str *to_tag = shm_malloc(sizeof *to_tag + tag->len); |
| 5210 | if (to_tag) { |
| 5211 | to_tag->s = (char *)(to_tag + 1); |
| 5212 | to_tag->len = tag->len; |
| 5213 | memcpy(to_tag->s, tag->s, tag->len); |
| 5214 | } |
| 5215 | return to_tag; |
| 5216 | } |
| 5217 | |
| 5218 | static void rtpengine_copy_streams(bencode_item_t *streams, struct rtp_relay_streams *ret) |
| 5219 | { |
no test coverage detected