| 2024 | } |
| 2025 | |
| 2026 | static int show_programs(AVTextFormatContext *tfc, InputFile *ifile) |
| 2027 | { |
| 2028 | AVFormatContext *fmt_ctx = ifile->fmt_ctx; |
| 2029 | int i, ret = 0; |
| 2030 | |
| 2031 | avtext_print_section_header(tfc, NULL, SECTION_ID_PROGRAMS); |
| 2032 | for (i = 0; i < fmt_ctx->nb_programs; i++) { |
| 2033 | AVProgram *program = fmt_ctx->programs[i]; |
| 2034 | if (!program) |
| 2035 | continue; |
| 2036 | ret = show_program(tfc, ifile, program); |
| 2037 | if (ret < 0) |
| 2038 | break; |
| 2039 | } |
| 2040 | avtext_print_section_footer(tfc); |
| 2041 | return ret; |
| 2042 | } |
| 2043 | |
| 2044 | static void print_tile_grid_params(AVTextFormatContext *tfc, const AVStreamGroup *stg, |
| 2045 | const AVStreamGroupTileGrid *tile_grid) |
no test coverage detected