lavfi-showfiltfmts: fix typo that segfaulted haiku.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-01-15 19:46:01 +01:00
parent bb4c0abc7c
commit 719a576f04

View File

@ -28,7 +28,7 @@ static void print_formats(AVFilterContext *filter_ctx)
int i, j; int i, j;
#define PRINT_FMTS(inout, outin, INOUT) \ #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) { \ if (filter_ctx->inout##puts[i]->type == AVMEDIA_TYPE_VIDEO) { \
AVFilterFormats *fmts = \ AVFilterFormats *fmts = \
filter_ctx->inout##puts[i]->outin##_formats; \ filter_ctx->inout##puts[i]->outin##_formats; \