| 911 | } |
| 912 | |
| 913 | int read_yesno(void) |
| 914 | { |
| 915 | int c = getchar(); |
| 916 | int yesno = (av_toupper(c) == 'Y'); |
| 917 | |
| 918 | while (c != '\n' && c != EOF) |
| 919 | c = getchar(); |
| 920 | |
| 921 | return yesno; |
| 922 | } |
| 923 | |
| 924 | FILE *get_preset_file(char *filename, size_t filename_size, |
| 925 | const char *preset_name, int is_path, |
no test coverage detected