From 7ac884c5914cfc426f9963ff0e02d81574a09140 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Wed, 9 Jul 2008 21:51:40 +0000 Subject: [PATCH] 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 --- ffserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffserver.c b/ffserver.c index 884a8bd24..bf4c2edd0 100644 --- a/ffserver.c +++ b/ffserver.c @@ -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; -- 2.11.0