From 719a576f04f49116fe68a830dfee3ca651db1de8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 15 Jan 2012 19:46:01 +0100 Subject: lavfi-showfiltfmts: fix typo that segfaulted haiku. Signed-off-by: Michael Niedermayer --- 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 436f985cb2..26fccbb0ec 100644 --- a/tools/lavfi-showfiltfmts.c +++ b/tools/lavfi-showfiltfmts.c @@ -28,7 +28,7 @@ static void print_formats(AVFilterContext *filter_ctx) int i, j; #define PRINT_FMTS(inout, outin, INOUT) \ - for (i = 0; i < filter_ctx->input_count; i++) { \ + for (i = 0; i < filter_ctx->inout##put_count; i++) { \ if (filter_ctx->inout##puts[i]->type == AVMEDIA_TYPE_VIDEO) { \ AVFilterFormats *fmts = \ filter_ctx->inout##puts[i]->outin##_formats; \ -- cgit v1.2.3