MCPcopy Create free account
hub / github.com/byhook/ffmpeg4android / read_yesno

Function read_yesno

ffmpeg-single-cmd/src/main/cpp/cmdutils.c:1934–1943  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1932}
1933
1934int 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
1945FILE *get_preset_file(char *filename, size_t filename_size,
1946 const char *preset_name, int is_path,

Callers 1

assert_file_overwriteFunction · 0.85

Calls 1

av_toupperFunction · 0.50

Tested by

no test coverage detected