Commit 7ac884c5 authored by Stefano Sabatini's avatar Stefano Sabatini

Fix a warning in ffserver.c caused by the use of the function

av_set_string() deprecated since r14134.

Originally committed as revision 14145 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent fdbb1feb
......@@ -3732,7 +3732,7 @@ static int opt_default(const char *opt, const char *arg,
const AVOption *o = NULL;
const AVOption *o2 = av_find_opt(avctx, opt, NULL, type, type);
if(o2)
o = av_set_string(avctx, opt, arg);
o = av_set_string2(avctx, opt, arg, 1);
if(!o)
return -1;
return 0;
......
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