summaryrefslogtreecommitdiffstats
path: root/libavutil/error.h
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-07-04 12:42:48 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-07-04 15:33:14 +0200
commitaa39516a04f7a7b91bf03e0fad0afce41acd1de1 (patch)
tree26311c562550b4a192cd5f64ded90a20435cf156 /libavutil/error.h
parentab2356cb796c531d722558f3e64896f955a0de40 (diff)
downloadffmpeg-streaming-aa39516a04f7a7b91bf03e0fad0afce41acd1de1.zip
ffmpeg-streaming-aa39516a04f7a7b91bf03e0fad0afce41acd1de1.tar.gz
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.
Diffstat (limited to 'libavutil/error.h')
-rw-r--r--libavutil/error.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/error.h b/libavutil/error.h
index ea0725a..6c29902 100644
--- a/libavutil/error.h
+++ b/libavutil/error.h
@@ -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
OpenPOWER on IntegriCloud