Skip to content

Commit

Permalink
Remove libevent initialization code
Browse files Browse the repository at this point in the history
  • Loading branch information
jblache committed Sep 11, 2011
1 parent 02c71ab commit f088a59
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main.c
Expand Up @@ -42,7 +42,6 @@
#include <dispatch/dispatch.h>

#include <getopt.h>
#include <event.h>
#include <libavutil/log.h>
#include <libavformat/avformat.h>

Expand Down Expand Up @@ -513,9 +512,6 @@ main(int argc, char **argv)
return EXIT_FAILURE;
}

/* Set up libevent logging callback */
event_set_log_callback(logger_libevent);

DPRINTF(E_LOG, L_MAIN, "Forked Media Server Version %s taking off\n", VERSION);

/* Initialize ffmpeg */
Expand Down Expand Up @@ -579,9 +575,6 @@ main(int argc, char **argv)

DPRINTF(E_DBG, L_MAIN, "Logger switched to dispatch mode\n");

/* Initialize libevent (after forking) */
event_init();

DPRINTF(E_LOG, L_MAIN, "mDNS init\n");
ret = mdns_init();
if (ret != 0)
Expand Down

0 comments on commit f088a59

Please sign in to comment.