diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-11 01:29:19 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-11 02:21:47 +0400 |
commit | 4ecee69b20a7ee60fba6cb53ff45d95a015df05b (patch) | |
tree | d08f2d8f9ef9bcaca6b834ea8bd6b1f40dabdf8d /libavfilter/vsrc_mptestsrc.c | |
parent | 791da4706cc386bba2fe439f3b4bd20caf90c3d3 (diff) |
lavfi/mptestsrc: switch to an AVOptions-based system.
Diffstat (limited to 'libavfilter/vsrc_mptestsrc.c')
-rw-r--r-- | libavfilter/vsrc_mptestsrc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c index 9f1c46f849..e2341081ce 100644 --- a/libavfilter/vsrc_mptestsrc.c +++ b/libavfilter/vsrc_mptestsrc.c @@ -262,12 +262,6 @@ static av_cold int init(AVFilterContext *ctx, const char *args) int64_t duration = -1; int ret; - test->class = &mptestsrc_class; - av_opt_set_defaults(test); - - if ((ret = (av_set_options_string(test, args, "=", ":"))) < 0) - return ret; - if ((test->duration) && (ret = av_parse_time(&duration, test->duration, 1)) < 0) { av_log(ctx, AV_LOG_ERROR, "Invalid duration: '%s'\n", test->duration); return ret; |