aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/asrc_flite.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-04-11 21:08:46 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-04-11 21:37:48 +0200
commit976e3439ed992b8e06e3737642448a3935b148e4 (patch)
tree518fb36355f4f06b6eba7042d64fcc6b853130d7 /libavfilter/asrc_flite.c
parent160ed967f459966191de34f4fc8fc1664d1ff2e6 (diff)
downloadffmpeg-976e3439ed992b8e06e3737642448a3935b148e4.tar.gz
lavfi/flite: switch to AVOption-based system
Diffstat (limited to 'libavfilter/asrc_flite.c')
-rw-r--r--libavfilter/asrc_flite.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavfilter/asrc_flite.c b/libavfilter/asrc_flite.c
index c13eb8b271..ee8774d37d 100644
--- a/libavfilter/asrc_flite.c
+++ b/libavfilter/asrc_flite.c
@@ -136,12 +136,6 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
FliteContext *flite = ctx->priv;
int ret = 0;
- flite->class = &flite_class;
- av_opt_set_defaults(flite);
-
- if ((ret = av_set_options_string(flite, args, "=", ":")) < 0)
- return ret;
-
if (flite->list_voices) {
list_voices(ctx, "\n");
return AVERROR_EXIT;
@@ -200,8 +194,6 @@ static av_cold void uninit(AVFilterContext *ctx)
{
FliteContext *flite = ctx->priv;
- av_opt_free(flite);
-
if (!--flite->voice_entry->usage_count)
flite->voice_entry->unregister_fn(flite->voice);
flite->voice = NULL;