| 35 | #endif |
| 36 | |
| 37 | static void usage(void) |
| 38 | { |
| 39 | printf("Convert a libavfilter graph to a dot file.\n"); |
| 40 | printf("Usage: graph2dot [OPTIONS]\n"); |
| 41 | printf("\n" |
| 42 | "Options:\n" |
| 43 | "-i INFILE set INFILE as input file, stdin if omitted\n" |
| 44 | "-o OUTFILE set OUTFILE as output file, stdout if omitted\n" |
| 45 | "-h print this help\n"); |
| 46 | } |
| 47 | |
| 48 | struct line { |
| 49 | char data[256]; |