aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lavfi-showfiltfmts.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-08-17 18:07:57 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-08-17 18:07:57 +0000
commita8542e433eb109f701ff8e93656b2e441b133c49 (patch)
tree2902a6a2c526016314532deb7c9c229ea2e7fa4e /tools/lavfi-showfiltfmts.c
parent65d4cab5627f9c8add3eff73f0d1148a8a95e91c (diff)
downloadffmpeg-a8542e433eb109f701ff8e93656b2e441b133c49.tar.gz
Set the correct type for the output links.
Originally committed as revision 24810 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tools/lavfi-showfiltfmts.c')
-rw-r--r--tools/lavfi-showfiltfmts.c2
1 files changed, 1 insertions, 1 deletions
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;
}