From: Stefano Sabatini Date: Tue, 17 Aug 2010 18:07:57 +0000 (+0000) Subject: Set the correct type for the output links. X-Git-Tag: v0.7b1~2567 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8542e433eb109f701ff8e93656b2e441b133c49;p=platform%2Fupstream%2Flibav.git Set the correct type for the output links. Originally committed as revision 24810 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/tools/lavfi-showfiltfmts.c b/tools/lavfi-showfiltfmts.c index b0787ea..34a6208 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; }