MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / sdp_write_address

Function sdp_write_address

libavformat/sdp.c:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48};
49
50static void sdp_write_address(char *buff, int size, const char *dest_addr, int ttl)
51{
52 if (dest_addr) {
53 if (ttl > 0) {
54 av_strlcatf(buff, size, "c=IN IP4 %s/%d\r\n", dest_addr, ttl);
55 } else {
56 av_strlcatf(buff, size, "c=IN IP4 %s\r\n", dest_addr);
57 }
58 }
59}
60
61static void sdp_write_header(char *buff, int size, struct sdp_session_level *s)
62{

Callers 2

sdp_write_headerFunction · 0.85
ff_sdp_write_mediaFunction · 0.85

Calls 1

av_strlcatfFunction · 0.85

Tested by

no test coverage detected