aboutsummaryrefslogtreecommitdiff
path: root/avserver.c
diff options
context:
space:
mode:
authorAnton Khirnov2011-10-03 21:10:06 +0200
committerAnton Khirnov2011-10-12 16:51:16 +0200
commit3b3ea34655db02d9cd9ea1a4122e920a7fdec602 (patch)
tree3b4c7cfd6d339a3357e2b9f22f3740917a387aff /avserver.c
parent8c5dcaad13a54d90f25e8bbb54efe2a1afd5144e (diff)
Remove all uses of deprecated AVOptions API.
Diffstat (limited to 'avserver.c')
-rw-r--r--avserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avserver.c b/avserver.c
index ff7a15c105..72b775447e 100644
--- a/avserver.c
+++ b/avserver.c
@@ -3938,7 +3938,7 @@ static int avserver_opt_default(const char *opt, const char *arg,
int ret = 0;
const AVOption *o = av_opt_find(avctx, opt, NULL, type, 0);
if(o)
- ret = av_set_string3(avctx, opt, arg, 1, NULL);
+ ret = av_opt_set(avctx, opt, arg, 0);
return ret;
}