--- ffmpeg-3.4.1.old/fftools/ffserver.c +++ ffmpeg-3.4.1/fftools/ffserver.c @@ -3949,7 +3949,8 @@ CMDUTILS_COMMON_OPTIONS { "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 }, }; @@ -3961,7 +3962,7 @@ init_dynload(); - config.filename = av_strdup("/etc/ffserver.conf"); + config.filename = av_strdup ("__META_PREFIX__/etc/ffserver.conf"); parse_loglevel(argc, argv, options); av_register_all();