OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdbb1fe
)
Fix a warning in ffserver.c caused by the use of the function
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Wed, 9 Jul 2008 21:51:40 +0000
(21:51 +0000)
committer
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Wed, 9 Jul 2008 21:51:40 +0000
(21:51 +0000)
av_set_string() deprecated since r14134.
Originally committed as revision 14145 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index
884a8bd
..
bf4c2ed
100644
(file)
--- 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_string
2(avctx, opt, arg, 1
);
if(!o)
return -1;
return 0;