libavutil/error.c File Reference

#include "avutil.h"
#include "avstring.h"

Go to the source code of this file.

Functions

int av_strerror (int errnum, char *errbuf, size_t errbuf_size)
 Put a description of the AVERROR code errnum in errbuf.


Function Documentation

int av_strerror ( int  errnum,
char *  errbuf,
size_t  errbuf_size 
)

Put a description of the AVERROR code errnum in errbuf.

In case of failure the global variable errno is set to indicate the error. Even in case of failure av_strerror() will print a generic error message indicating the errnum provided to errbuf.

Parameters:
errnum error code to describe
errbuf buffer to which description is written
errbuf_size the size in bytes of errbuf
Returns:
0 on success, a negative value if a description for errnum cannot be found

Definition at line 23 of file error.c.

Referenced by av_file_map(), and print_error().


Generated on Fri Oct 26 02:38:21 2012 for FFmpeg by  doxygen 1.5.8