From: Stefano Sabatini Date: Wed, 9 Jul 2008 21:51:40 +0000 (+0000) Subject: Fix a warning in ffserver.c caused by the use of the function X-Git-Tag: v0.5~3767 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ac884c5914cfc426f9963ff0e02d81574a09140;p=platform%2Fupstream%2Flibav.git 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 --- 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;