summaryrefslogtreecommitdiff
path: root/libavfilter/f_ebur128.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-10 22:13:12 +0200
committerClément Bœsch <ubitux@gmail.com>2013-04-10 23:16:02 +0200
commit5afd58fbb4571d8b9c81c7573c2a43d5ad15672a (patch)
treeb76ae7bc1b8da47a647e48aa81502ae2c5d5b8d3 /libavfilter/f_ebur128.c
parent4964ec2cd4822eb4d9b34e83b0a77c0592c7c192 (diff)
lavfi/ebur128: switch to an AVOptions-based system.
Diffstat (limited to 'libavfilter/f_ebur128.c')
-rw-r--r--libavfilter/f_ebur128.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavfilter/f_ebur128.c b/libavfilter/f_ebur128.c
index 0c7f7714b4..2ff92a33c8 100644
--- a/libavfilter/f_ebur128.c
+++ b/libavfilter/f_ebur128.c
@@ -405,16 +405,9 @@ static struct hist_entry *get_histogram(void)
static av_cold int init(AVFilterContext *ctx, const char *args)
{
- int ret;
EBUR128Context *ebur128 = ctx->priv;
AVFilterPad pad;
- ebur128->class = &ebur128_class;
- av_opt_set_defaults(ebur128);
-
- if ((ret = av_set_options_string(ebur128, args, "=", ":")) < 0)
- return ret;
-
if (ebur128->loglevel != AV_LOG_INFO &&
ebur128->loglevel != AV_LOG_VERBOSE) {
if (ebur128->do_video || ebur128->metadata)