Commit 1b84e062 authored by Michael Niedermayer's avatar Michael Niedermayer

lavfi-showfiltfmts.c: fix handling of null names

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 61c2cec9
......@@ -33,6 +33,7 @@ static void print_formats(AVFilterContext *filter_ctx)
AVFilterFormats *fmts = \
filter_ctx->inout##puts[i]->outin##_formats; \
for (j = 0; j < fmts->format_count; j++) \
if(av_get_pix_fmt_name(fmts->formats[j])) \
printf(#INOUT "PUT[%d] %s: fmt:%s\n", \
i, filter_ctx->filter->inout##puts[i].name, \
av_get_pix_fmt_name(fmts->formats[j])); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment