mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Reindent
Originally committed as revision 25390 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
10105c9b29
commit
87b2b40a33
1 changed files with 7 additions and 7 deletions
|
|
@ -80,7 +80,7 @@ static void sdp_write_header(char *buff, int size, struct sdp_session_level *s)
|
|||
|
||||
#if CONFIG_NETWORK
|
||||
static int resolve_destination(char *dest_addr, int size, char *type,
|
||||
int type_size)
|
||||
int type_size)
|
||||
{
|
||||
struct addrinfo hints, *ai;
|
||||
int is_multicast;
|
||||
|
|
@ -105,7 +105,7 @@ static int resolve_destination(char *dest_addr, int size, char *type,
|
|||
}
|
||||
#else
|
||||
static int resolve_destination(char *dest_addr, int size, char *type,
|
||||
int type_size)
|
||||
int type_size)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -132,11 +132,11 @@ static int sdp_get_address(char *dest_addr, int size, int *ttl, const char *url)
|
|||
if (p) {
|
||||
char buff[64];
|
||||
|
||||
if (find_info_tag(buff, sizeof(buff), "ttl", p)) {
|
||||
*ttl = strtol(buff, NULL, 10);
|
||||
} else {
|
||||
*ttl = 5;
|
||||
}
|
||||
if (find_info_tag(buff, sizeof(buff), "ttl", p)) {
|
||||
*ttl = strtol(buff, NULL, 10);
|
||||
} else {
|
||||
*ttl = 5;
|
||||
}
|
||||
}
|
||||
|
||||
return port;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue