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)
 Puts a description of the AVERROR code errnum in errbuf.


Function Documentation

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

Puts 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:
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 22 of file error.c.

Referenced by print_error().


Generated on Fri Oct 26 02:36:55 2012 for FFmpeg by  doxygen 1.5.8