[FFmpeg-cvslog] lavfi-showfiltfmts.c: fix handling of null names
Michael Niedermayer
git at videolan.org
Sat Nov 26 18:43:06 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Nov 26 18:12:07 2011 +0100| [1b84e062444db29f8e8999f5f0081f9bce0e1a31] | committer: Michael Niedermayer
lavfi-showfiltfmts.c: fix handling of null names
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1b84e062444db29f8e8999f5f0081f9bce0e1a31
---
tools/lavfi-showfiltfmts.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/lavfi-showfiltfmts.c b/tools/lavfi-showfiltfmts.c
index a4541ba..436f985 100644
--- a/tools/lavfi-showfiltfmts.c
+++ b/tools/lavfi-showfiltfmts.c
@@ -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])); \
More information about the ffmpeg-cvslog
mailing list