History

cmdutils: move exit_program() declaration to cmdutils from avconv

Allows cmdutils to call each tool's own cleanup function.

Anton Khirnov committed 15 years ago

Commit dad09ff1 parent 346ea9e7 files · +105 −83Browse files

Showing the changes to avserver.c (1 of 7 files). Show all

Unified · Split

avserver.c+5−0
@@ -320,6 +320,11 @@ static AVLFG random_state; · 319 unmodified lines
320 320
321static FILE *logfile = NULL;321static FILE *logfile = NULL;
322 322
323void exit_program(int ret)
324{
325 exit(ret);
326}
327
323/* FIXME: make avserver work with IPv6 */328/* FIXME: make avserver work with IPv6 */
324/* resolve host with also IP address parsing */329/* resolve host with also IP address parsing */
325static int resolve_host(struct in_addr *sin_addr, const char *hostname)330static int resolve_host(struct in_addr *sin_addr, const char *hostname)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t