static av_cold int init(AVFilterContext *ctx)
{
DRContext *dr_context = ctx->priv;
- return ff_dnn_init(&dr_context->dnnctx, ctx);
+ return ff_dnn_init(&dr_context->dnnctx, DFT_PROCESS_FRAME, ctx);
}
static av_cold void uninit(AVFilterContext *ctx)
{ NULL }
};
-AVFilter ff_vf_derain = {
+const AVFilter ff_vf_derain = {
.name = "derain",
.description = NULL_IF_CONFIG_SMALL("Apply derain filter to the input."),
.priv_size = sizeof(DRContext),