| 44 | static int out_b64; |
| 45 | |
| 46 | static void usage(void) |
| 47 | { |
| 48 | int i = 0; |
| 49 | const char *name; |
| 50 | |
| 51 | printf("usage: ffhash [b64:]algorithm [input]...\n"); |
| 52 | printf("Supported hash algorithms:"); |
| 53 | do { |
| 54 | name = av_hash_names(i); |
| 55 | if (name) |
| 56 | printf(" %s", name); |
| 57 | i++; |
| 58 | } while(name); |
| 59 | printf("\n"); |
| 60 | } |
| 61 | |
| 62 | static void finish(void) |
| 63 | { |