--- ffmpeg-2.8.6.old/ffserver.c +++ ffmpeg-2.8.6/ffserver.c @@ -3808,7 +3808,8 @@ #include "cmdutils_common_opts.h" { "n", OPT_BOOL, {(void *)&no_launch }, "enable no-launch mode" }, { "d", 0, {(void*)opt_debug}, "enable debug mode" }, - { "f", HAS_ARG | OPT_STRING, {(void*)&config.filename }, "use configfile instead of /etc/ffserver.conf", "configfile" }, + { "f", HAS_ARG | OPT_STRING, {(void*)&config.filename }, "use foo.conf instead of __META_PREFIX__/etc/ffserver.conf", +"__META_PREFIX__/etc/ffserver.conf" }, { NULL }, }; @@ -3817,7 +3818,7 @@ struct sigaction sigact = { { 0 } }; int ret = 0; - config.filename = av_strdup("/etc/ffserver.conf"); + config.filename = av_strdup ("__META_PREFIX__/etc/ffserver.conf"); parse_loglevel(argc, argv, options); av_register_all();