mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 13:35:13 +00:00
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
This commit is contained in:
parent
fdbb1feb27
commit
7ac884c591
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user