error: define AVERROR_BUFFER_TOO_SMALL.

Some API require a buffer and return a specific error
if it is too small. This error code helps to map codes.
This commit is contained in:
Nicolas George
2012-07-04 12:42:48 +02:00
parent ab2356cb79
commit aa39516a04
2 changed files with 2 additions and 0 deletions

View File

@@ -48,6 +48,7 @@
#define AVERROR_BSF_NOT_FOUND FFERRTAG(0xF8,'B','S','F') ///< Bitstream filter not found
#define AVERROR_BUG FFERRTAG( 'B','U','G','!') ///< Internal bug, also see AVERROR_BUG2
#define AVERROR_BUFFER_TOO_SMALL FFERRTAG( 'B','U','F','S') ///< Buffer too small
#define AVERROR_DECODER_NOT_FOUND FFERRTAG(0xF8,'D','E','C') ///< Decoder not found
#define AVERROR_DEMUXER_NOT_FOUND FFERRTAG(0xF8,'D','E','M') ///< Demuxer not found
#define AVERROR_ENCODER_NOT_FOUND FFERRTAG(0xF8,'E','N','C') ///< Encoder not found