Commit 4131f21f authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '612a5049'

* commit '612a5049':
  avserver: do not use a static string as a default for a string option

See: 19c41c6dMerged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents a7bb12a3 612a5049
......@@ -4673,6 +4673,8 @@ int main(int argc, char **argv)
{
struct sigaction sigact = { { 0 } };
config_filename = av_strdup("/etc/ffserver.conf");
parse_loglevel(argc, argv, options);
av_register_all();
avformat_network_init();
......@@ -4683,9 +4685,6 @@ int main(int argc, char **argv)
parse_options(NULL, argc, argv, options, NULL);
if (!config_filename)
config_filename = av_strdup("/etc/ffserver.conf");
unsetenv("http_proxy"); /* Kill the http_proxy */
av_lfg_init(&random_state, av_get_random_seed());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment