summaryrefslogtreecommitdiff
path: root/ffserver.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-22 13:25:19 +0200
committerAnton Khirnov <anton@khirnov.net>2011-06-16 20:24:56 +0200
commitdc59ec5e79d813228e3dfbc8942a5fe424b399a0 (patch)
tree140dace29d599a0478455f7394de015bbb7a9939 /ffserver.c
parent7e83e1c511baf0d02f3af75b6180d6af4d50aa99 (diff)
AVOptions: add av_opt_find() as a replacement for av_find_opt.
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c
index 0f57979c9c..2ac7e6abf9 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3944,7 +3944,7 @@ static int ffserver_opt_default(const char *opt, const char *arg,
AVCodecContext *avctx, int type)
{
int ret = 0;
- const AVOption *o = av_find_opt(avctx, opt, NULL, type, type);
+ const AVOption *o = av_opt_find(avctx, opt, NULL, type, 0);
if(o)
ret = av_set_string3(avctx, opt, arg, 1, NULL);
return ret;