mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
Use atexit() instead of defining a custom exit_program() interface.
This commit is contained in:
committed by
Derek Buitenhuis
parent
bd680c7b49
commit
5e3f9979fa
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user