diff options
author | Reinhard Tartler <siretart@tauware.de> | 2010-05-19 11:46:39 +0000 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2010-05-19 11:46:39 +0000 |
commit | 77a023f422bd97e7b578480af4b3838bc6ed72a8 (patch) | |
tree | 0c6da40b7ebf7ee9b788085a659b915bd78dff31 | |
parent | ba9cecf5e5eeb9191452ca52cf47f57484d2a4a1 (diff) | |
download | ffmpeg-77a023f422bd97e7b578480af4b3838bc6ed72a8.tar.gz |
Document cmdutils.c:print_error().
backport r23051 by stefano
Originally committed as revision 23186 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
-rw-r--r-- | cmdutils.h | 9 |
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); |