diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-03-18 21:35:49 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-03-18 21:35:49 +0000 |
commit | 090b61b2d18a034c225598d54304e05c95b71b3e (patch) | |
tree | 2519bc247eff7ecb4ac3f35bab497c69946ffc22 /cmdutils.h | |
parent | eab5168cd345a5ce0001036690daac7767062aa1 (diff) | |
download | ffmpeg-090b61b2d18a034c225598d54304e05c95b71b3e.tar.gz |
Implement read_yesno().
Originally committed as revision 18037 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.h')
-rw-r--r-- | cmdutils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h index 959c3f7cd2..e30ea0f9af 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -152,4 +152,10 @@ void show_license(void); */ void show_formats(void); +/** + * Returns a positive value if reads from standard input a line + * starting with [yY], otherwise returns 0. + */ +int read_yesno(void); + #endif /* FFMPEG_CMDUTILS_H */ |