[PATCH 3/6] Document cmdutils.c:print_error().

Stefano Sabatini stefano.sabatini-lala
Wed May 5 00:11:57 CEST 2010


---
 cmdutils.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/cmdutils.h b/cmdutils.h
index ad8cefd..86da06c 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -134,6 +134,14 @@ void parse_options(int argc, char **argv, const OptionDef *options,
 
 void set_context_opts(void *ctx, void *opts_ctx, int flags);
 
+/**
+ * Prints a string indicating filename and a description of the error
+ * code err to stderr.
+ * The use of this function may be unsafe in a multithreaded
+ * application.
+ *
+ * @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);
-- 
1.7.0


--pvezYHf7grwyp3Bc--



More information about the ffmpeg-devel mailing list