summaryrefslogtreecommitdiff
path: root/libavformat/sdp.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-10-07 08:00:03 +0000
committerMartin Storsjö <martin@martin.st>2010-10-07 08:00:03 +0000
commit87b2b40a3342185e7e99aca8c34c4201629489ca (patch)
treebe1d5b01f080ff29779a0e0ff77ad9ba3d1719b6 /libavformat/sdp.c
parent10105c9b29e9209cf6f0a29457ae171239894b74 (diff)
Reindent
Originally committed as revision 25390 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r--libavformat/sdp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index dd925bce4c..3ea31efc32 100644
--- a/libavformat/sdp.c
+++ b/libavformat/sdp.c
@@ -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;