diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-11 00:52:39 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-11 01:04:45 +0200 |
commit | a689a6b698b9c6c97fb64208dc1a71b1f384eb9c (patch) | |
tree | 6617ac456c49733e59dd98d4fc2ca8b14c38f1af /libavfilter | |
parent | e4bd1db88ec05ad389dd4443461ef50a6007b808 (diff) | |
download | ffmpeg-streaming-a689a6b698b9c6c97fb64208dc1a71b1f384eb9c.zip ffmpeg-streaming-a689a6b698b9c6c97fb64208dc1a71b1f384eb9c.tar.gz |
lavfi/noise: switch to an AVOptions-based system.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.c | 1 | ||||
-rw-r--r-- | libavfilter/vf_noise.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 23da529..5dff27a 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -689,6 +689,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque !strcmp(filter->filter->name, "mandelbrot" ) || !strcmp(filter->filter->name, "mptestsrc" ) || !strcmp(filter->filter->name, "negate" ) || + !strcmp(filter->filter->name, "noise" ) || !strcmp(filter->filter->name, "overlay" ) || !strcmp(filter->filter->name, "pad" ) || !strcmp(filter->filter->name, "format") || diff --git a/libavfilter/vf_noise.c b/libavfilter/vf_noise.c index 84205cb..52e3963 100644 --- a/libavfilter/vf_noise.c +++ b/libavfilter/vf_noise.c @@ -462,8 +462,6 @@ static const AVFilterPad noise_outputs[] = { { NULL } }; -static const char *const shorthand[] = { NULL }; - AVFilter avfilter_vf_noise = { .name = "noise", .description = NULL_IF_CONFIG_SMALL("Add noise."), @@ -474,5 +472,4 @@ AVFilter avfilter_vf_noise = { .inputs = noise_inputs, .outputs = noise_outputs, .priv_class = &noise_class, - .shorthand = shorthand, }; |