static av_cold void uninit()

in Transform_V1/vf_transform_v1.c [765:783]


static av_cold void uninit(AVFilterContext *ctx)
{
    TransformContext *s = ctx->priv;

    for (int plane = 0; plane < s->out_map_planes; ++plane) {
        TransformPlaneMap *p = &s->out_map[plane];
        for (int i = 0; i < p->h * p->w; ++i) {
            av_freep(&p->weights[i].pairs);
            p->weights[i].pairs = NULL;
        }
        av_freep(&p->weights);
        p->weights = NULL;
    }
    av_freep(&s->out_map);
    s->out_map = NULL;

    av_dict_free(&s->opts);
    s->opts = NULL;
}