summaryrefslogtreecommitdiff
path: root/cmdutils.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-05-07 12:42:26 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-05-07 12:42:26 +0000
commit8d787f8e52bdcd661442d2f0237cfb7794322f69 (patch)
treea50945490490604e7237511aff08f6c938a7891f /cmdutils.h
parent0c22311b56e66115675c4a96e4c78547886a4171 (diff)
Document cmdutils.c:print_error().
Originally committed as revision 23051 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h
index ad8cefdeee..5656370610 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -134,6 +134,15 @@ void parse_options(int argc, char **argv, const OptionDef *options,
void set_context_opts(void *ctx, void *opts_ctx, int flags);
+/**
+ * Prints an error message to stderr, indicating filename and a human
+ * readable description of the error code err.
+ *
+ * If strerror_r() is not available the use of this function in a
+ * multithreaded application may be unsafe.
+ *
+ * @see av_strerror()
+ */
void print_error(const char *filename, int err);
void list_fmts(void (*get_fmt_string)(char *buf, int buf_size, int fmt), int nb_fmts);