Commit d727941e authored by stefano's avatar stefano

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

av_opt_string() deprecated since r14134.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14145 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1751afac
...@@ -3732,7 +3732,7 @@ static int opt_default(const char *opt, const char *arg, ...@@ -3732,7 +3732,7 @@ static int opt_default(const char *opt, const char *arg,
const AVOption *o = NULL; const AVOption *o = NULL;
const AVOption *o2 = av_find_opt(avctx, opt, NULL, type, type); const AVOption *o2 = av_find_opt(avctx, opt, NULL, type, type);
if(o2) if(o2)
o = av_set_string(avctx, opt, arg); o = av_set_string2(avctx, opt, arg, 1);
if(!o) if(!o)
return -1; return -1;
return 0; 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