diff --git a/ffprobe.c b/ffprobe.c index 46c232e1da..8afe5cbc88 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -2381,6 +2381,7 @@ static int probe_file(WriterContext *wctx, const char *filename) writer_print_section_footer(wctx); CHECK_END; } + if (do_show_programs) { ret = show_programs(wctx, fmt_ctx); CHECK_END;