aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-15 19:46:01 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-15 19:46:55 +0100
commit719a576f04f49116fe68a830dfee3ca651db1de8 (patch)
treef789644c910168c09f99e803fa5ac25d588f8564 /tools
parentbb4c0abc7c9b13772847b9411aaad909afe8560f (diff)
downloadffmpeg-719a576f04f49116fe68a830dfee3ca651db1de8.tar.gz
lavfi-showfiltfmts: fix typo that segfaulted haiku.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tools')
-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 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; \