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: android-x86-4.4-r1~20452 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a8542e433eb109f701ff8e93656b2e441b133c49;p=android-x86%2Fexternal-ffmpeg.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 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; }