From dc59ec5e79d813228e3dfbc8942a5fe424b399a0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 22 May 2011 13:25:19 +0200 Subject: AVOptions: add av_opt_find() as a replacement for av_find_opt. --- ffserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffserver.c') 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; -- cgit v1.2.3