| 1932 | } |
| 1933 | |
| 1934 | int read_yesno(void) |
| 1935 | { |
| 1936 | int c = getchar(); |
| 1937 | int yesno = (av_toupper(c) == 'Y'); |
| 1938 | |
| 1939 | while (c != '\n' && c != EOF) |
| 1940 | c = getchar(); |
| 1941 | |
| 1942 | return yesno; |
| 1943 | } |
| 1944 | |
| 1945 | FILE *get_preset_file(char *filename, size_t filename_size, |
| 1946 | const char *preset_name, int is_path, |
no test coverage detected