Browse Source

Document cmdutils.c:print_error().

Originally committed as revision 23051 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Stefano Sabatini 16 years ago
parent
commit
8d787f8e52
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      cmdutils.h

+ 9
- 0
cmdutils.h View File

@@ -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);


Loading…
Cancel
Save