diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-07-09 21:51:40 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-07-09 21:51:40 +0000 |
commit | 7ac884c5914cfc426f9963ff0e02d81574a09140 (patch) | |
tree | 364d8dbeaa7c9fda0dac3c903febedb770ac1f35 /ffserver.c | |
parent | fdbb1feb270ec3c39236f3cdafe24a517b53340b (diff) | |
download | ffmpeg-7ac884c5914cfc426f9963ff0e02d81574a09140.tar.gz |
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
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index 884a8bd24d..bf4c2edd04 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; |