Revision a8542e43 tools/lavfi-showfiltfmts.c

View differences:

tools/lavfi-showfiltfmts.c
66 66
    }
67 67
    for (i = 0; i < filter_ctx->output_count; i++) {
68 68
        AVFilterLink *link = av_mallocz(sizeof(AVFilterLink));
69
        link->type = filter_ctx->filter->inputs[i].type;
69
        link->type = filter_ctx->filter->outputs[i].type;
70 70
        filter_ctx->outputs[i] = link;
71 71
    }
72 72

  

Also available in: Unified diff