diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-11 15:21:40 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-11 15:21:40 +0200 |
commit | 1c0feee05930924a886584aab96c3669b79818b3 (patch) | |
tree | 944a8754988235ca59e620365f2e99dd7621bf9e /libavfilter | |
parent | 7464b9e31904a4b4c65afbac17c1f8aa2dda9876 (diff) | |
download | ffmpeg-1c0feee05930924a886584aab96c3669b79818b3.tar.gz |
lavfi/anullsrc: switch to an AVOptions-based system.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/asrc_anullsrc.c | 6 | ||||
-rw-r--r-- | libavfilter/avfilter.c | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/libavfilter/asrc_anullsrc.c b/libavfilter/asrc_anullsrc.c index 84260c3721..fe0ec914cd 100644 --- a/libavfilter/asrc_anullsrc.c +++ b/libavfilter/asrc_anullsrc.c @@ -64,12 +64,6 @@ static int init(AVFilterContext *ctx, const char *args) ANullContext *null = ctx->priv; int ret; - null->class = &anullsrc_class; - av_opt_set_defaults(null); - - if ((ret = av_set_options_string(null, args, "=", ":")) < 0) - return ret; - if ((ret = ff_parse_sample_rate(&null->sample_rate, null->sample_rate_str, ctx)) < 0) return ret; diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 18753b3baa..cce7bc621d 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -676,7 +676,6 @@ static const char *const filters_left_to_update[] = { "aconvert", "aevalsrc", "amerge", - "anullsrc", "aresample", "asetnsamples", "atempo", |