]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - cmdutils.h
frsh: Export information about the last RTP contract and VRES
[frescor/ffmpeg.git] / cmdutils.h
index 2cc2ee26c7e98f001ad59bd685e972d88d9c57c3..e30ea0f9afc13a975eb19bfa9d5973cc09c7d838 100644 (file)
@@ -23,6 +23,9 @@
 #define FFMPEG_CMDUTILS_H
 
 #include <inttypes.h>
+#include "libavcodec/avcodec.h"
+#include "libavformat/avformat.h"
+#include "libswscale/swscale.h"
 
 /**
  * program name, defined by the program for show_version().
@@ -34,13 +37,15 @@ extern const char program_name[];
  */
 extern const int program_birth_year;
 
+extern const int this_year;
+
 extern const char **opt_names;
-extern AVCodecContext *avctx_opts[CODEC_TYPE_NB];
+extern AVCodecContext *avcodec_opts[CODEC_TYPE_NB];
 extern AVFormatContext *avformat_opts;
 extern struct SwsContext *sws_opts;
 
 /**
- * Fallback for options that are not explixitly handled, these will be
+ * Fallback for options that are not explicitly handled, these will be
  * parsed through AVOptions.
  */
 int opt_default(const char *opt, const char *arg);
@@ -147,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 */