summaryrefslogtreecommitdiff
path: root/libavcodec/noise_bsf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/noise_bsf.c')
-rw-r--r--libavcodec/noise_bsf.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/noise_bsf.c b/libavcodec/noise_bsf.c
index 05b5d5f32b..168f3aa373 100644
--- a/libavcodec/noise_bsf.c
+++ b/libavcodec/noise_bsf.c
@@ -23,7 +23,6 @@
#include "bsf.h"
#include "bsf_internal.h"
-#include "libavutil/avstring.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/eval.h"
@@ -220,10 +219,10 @@ static const AVClass noise_class = {
.version = LIBAVUTIL_VERSION_INT,
};
-const AVBitStreamFilter ff_noise_bsf = {
- .name = "noise",
+const FFBitStreamFilter ff_noise_bsf = {
+ .p.name = "noise",
+ .p.priv_class = &noise_class,
.priv_data_size = sizeof(NoiseContext),
- .priv_class = &noise_class,
.init = noise_init,
.close = noise_close,
.filter = noise,