aboutsummaryrefslogtreecommitdiffstats
path: root/tools/aviocat.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-01-25 15:03:18 +0100
committerDiego Biurrun <diego@biurrun.de>2012-01-25 15:31:11 +0100
commit4e81b5f517443c0e60df3f2c6ddc8cac96a34af8 (patch)
tree16b9a1e1920ccbddcb870cc700189c7698341618 /tools/aviocat.c
parent50639cbefef8cc9f3df19241be7cf23cde8313b7 (diff)
downloadffmpeg-4e81b5f517443c0e60df3f2c6ddc8cac96a34af8.tar.gz
tools: K&R reformatting cosmetics
Diffstat (limited to 'tools/aviocat.c')
-rw-r--r--tools/aviocat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/aviocat.c b/tools/aviocat.c
index 92483c345a..f5da526ba9 100644
--- a/tools/aviocat.c
+++ b/tools/aviocat.c
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+
#include "libavformat/avformat.h"
static int usage(const char *argv0, int ret)
@@ -80,13 +81,14 @@ int main(int argc, char **argv)
stream_pos += n;
if (bps) {
avio_flush(output);
- while ((av_gettime() - start_time)*bps/AV_TIME_BASE < stream_pos)
- usleep(50*1000);
+ while ((av_gettime() - start_time) * bps / AV_TIME_BASE < stream_pos)
+ usleep(50 * 1000);
}
}
avio_flush(output);
avio_close(output);
+
fail:
avio_close(input);
avformat_network_deinit();