MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / read_yesno

Function read_yesno

fftools/cmdutils.c:913–922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

911}
912
913int 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
924FILE *get_preset_file(char *filename, size_t filename_size,
925 const char *preset_name, int is_path,

Callers 1

assert_file_overwriteFunction · 0.85

Calls 1

av_toupperFunction · 0.85

Tested by

no test coverage detected