From a8542e433eb109f701ff8e93656b2e441b133c49 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 17 Aug 2010 18:07:57 +0000 Subject: Set the correct type for the output links. Originally committed as revision 24810 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tools/lavfi-showfiltfmts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/lavfi-showfiltfmts.c b/tools/lavfi-showfiltfmts.c index b0787ea764..34a6208a75 100644 --- a/tools/lavfi-showfiltfmts.c +++ b/tools/lavfi-showfiltfmts.c @@ -66,7 +66,7 @@ int main(int argc, char **argv) } for (i = 0; i < filter_ctx->output_count; i++) { AVFilterLink *link = av_mallocz(sizeof(AVFilterLink)); - link->type = filter_ctx->filter->inputs[i].type; + link->type = filter_ctx->filter->outputs[i].type; filter_ctx->outputs[i] = link; } -- cgit v1.2.3