]> git.sesse.net Git - ffmpeg/blobdiff - avserver.c
aacdec: Set the profile during decoding
[ffmpeg] / avserver.c
index 560eda1caa5038f0cfbb23310bba07fbc970060d..56bcda9d4df7992f24af0e0ede802b0a32fdde13 100644 (file)
@@ -301,7 +301,7 @@ static int rtp_new_av_stream(HTTPContext *c,
 
 static const char *my_program_name;
 
-static const char *config_filename = "/etc/avserver.conf";
+static const char *config_filename;
 
 static int avserver_debug;
 static int no_launch;
@@ -4633,6 +4633,8 @@ int main(int argc, char **argv)
 {
     struct sigaction sigact = { { 0 } };
 
+    config_filename = av_strdup("/etc/avserver.conf");
+
     parse_loglevel(argc, argv, options);
     av_register_all();
     avformat_network_init();