summaryrefslogtreecommitdiff
path: root/cmdutils.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-06-16 23:09:03 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-06-16 23:09:03 +0000
commit4c97a6fafadc478465e584c691455a19d9c9ee66 (patch)
tree825556f971c845354724ca4d7f18a45452b5ad24 /cmdutils.h
parent77ddf4df944cf14e6f5cc3d407d383e7e4dc0de0 (diff)
Move opt_loglevel() from ffmpeg.c to cmdutils.c.
Originally committed as revision 19209 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h
index a71677a22d..826f00092f 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -51,6 +51,11 @@ extern struct SwsContext *sws_opts;
int opt_default(const char *opt, const char *arg);
/**
+ * Sets the libav* libraries log level.
+ */
+int opt_loglevel(const char *opt, const char *arg);
+
+/**
* Parses a string and returns its corresponding value as a double.
* Exits from the application if the string cannot be correctly
* parsed or the corresponding value is invalid.