summaryrefslogtreecommitdiffstats
path: root/avserver.c
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-09-05 07:03:56 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2012-10-01 17:17:42 -0400
commit5e3f9979fae32fe837dab6cff5bde7de3c387611 (patch)
tree0c7f80cc8a57a4d93c316ed961f330ed3282f19f /avserver.c
parentbd680c7b49ba665467cb00664667928bbca516a9 (diff)
downloadffmpeg-streaming-5e3f9979fae32fe837dab6cff5bde7de3c387611.zip
ffmpeg-streaming-5e3f9979fae32fe837dab6cff5bde7de3c387611.tar.gz
Use atexit() instead of defining a custom exit_program() interface.
Diffstat (limited to 'avserver.c')
-rw-r--r--avserver.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/avserver.c b/avserver.c
index 94ea0a0..6b01b15 100644
--- a/avserver.c
+++ b/avserver.c
@@ -323,11 +323,6 @@ static AVLFG random_state;
static FILE *logfile = NULL;
-void exit_program(int ret)
-{
- exit(ret);
-}
-
/* FIXME: make avserver work with IPv6 */
/* resolve host with also IP address parsing */
static int resolve_host(struct in_addr *sin_addr, const char *hostname)
OpenPOWER on IntegriCloud